New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:arrow_up::one::one:Autostaging_project_task *Port* #722

Closed
wants to merge 15 commits into
base: 11.0
from

Conversation

Projects
None yet
4 participants
@Ommo73
Copy link
Member

Ommo73 commented Jan 23, 2019

No description provided.

@Ommo73 Ommo73 force-pushed the Ommo73:11.0-autostaging_project_task-porting_2 branch from 123b79a to 4d562bd Feb 1, 2019

KolushovAlexandr and others added some commits Feb 1, 2019

@@ -21,7 +24,7 @@ class ProjectTaskAutostaging(models.Model):
_field_folder_id = 'project_id'
_field_stage_id = 'stage_id'

autostaging_next_stage = fields.Many2one('project.task.type', string='Autostaging next stage', related='stage_id.autostaging_next_stage')
autostaging_next_stage_related = fields.Many2one('project.task.type', string='Autostaging next stage', related='stage_id.autostaging_next_stage')

This comment has been minimized.

@yelizariev

yelizariev Feb 4, 2019

Member

Why it's renamed?

This comment has been minimized.

@Ommo73

Ommo73 Feb 11, 2019

Author Member

Because the method "_get_model_list" in "autostaging.card" should select only the model "project.task" as it was in previous versions of the module. After the last changes in the module names, the models "project.task" and "project.task.type" had the same field "autostaging_next_stage". This caused an error and the module did not work as before.

Tested on Odoo 8.0 a0797d3b35cc235048e7947dd7a3d38e18c3e350
Change stages of tasks automatically after a specified time

The tasks which are not modified within the idle timeout automatically moved to the next stage (may be used with project.task or crm.lead)

This comment has been minimized.

@yelizariev

yelizariev Feb 4, 2019

Member

It can be used with any model

],
"installable": False
"name": """Autostaging (technical core)""",
"summary": """Change stages of tasks automatically after a specified time""",

This comment has been minimized.

@yelizariev

@Ommo73 Ommo73 closed this Feb 11, 2019

@Ommo73 Ommo73 deleted the Ommo73:11.0-autostaging_project_task-porting_2 branch Feb 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment