Project Enhanced

A project or a task stay archived if it has been manually archived

https://kastor.lab.numigi.net/web/image/product.template/839/image_1920?unique=f971e91
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Project Enhanced

Technical

Add a new active_toggle boolean field for projects and tasks, default value is True. When the Active/Archived button is checked, the field has its value defined with the value of field active given by the button. Set field active_toggle to True in the function "write" to work around.

Description

If a project was deactivated manually using button in its form view, it will stay deactivated using coding write operation (field active_toggle in this case is set to False). Same thing for a task

If a project is activated, so are the associated tasks, if the tasks have not been manually deactivated using the button in its form view.

Contributors