[FIX] project: add default description with quick create
Steps to reproduce: ------------------- - to be in debug mode; - add a description in an existing task; - go to Set Defaults in the debug mode; - add a default description; - add project id as a condition; - go to the kanban view of the project; - create a task; Issue: ------ Default description is not present. Cause: ------ The description must be added as a parameter to the onchange in order to be set to the default value. The fields passed as parameters are the view's active fields. Active fields are found during parsing of the `quick_create_task_form` view arch. Unfortunately, the latter does not contain the `description` field. Solution: --------- Add `description` field to be detected as an active field of the quick create view. opw-3381088 closes odoo/odoo#127571 X-original-commit: 0c391e045743128f6d5050204ccd5e18794ca793 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com> Signed-off-by: Thomas Lefebvre (thle) <thle@odoo.com>
This commit is contained in:
@@ -497,6 +497,7 @@
|
||||
widget="many2many_avatar_user"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="parent_id" invisible="1" groups="base.group_no_one"/>
|
||||
<field name="description" invisible="1"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user