[FIX] project: fix the tag filtering based on project
Before this commit, the tags on project sharing view does not filtered accordiing to the project's tags. So in this commit, added context to filter the tags based on project on project sharing task view. task-2920494 closes odoo/odoo#103134 X-original-commit: 0ce2cc7e9dab41b69f89c7d4de048097fb36ee51 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
committed by
Barad Mahendra
parent
df6c716bc2
commit
baf1adb128
@@ -207,7 +207,7 @@
|
||||
<field name="allow_subtasks" invisible="1" />
|
||||
<field name="partner_id" options="{'no_open': True, 'no_create': True, 'no_edit': True}"/>
|
||||
<field name="date_deadline" attrs="{'invisible': [('is_closed', '=', True)]}"/>
|
||||
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_create_edit': True, 'no_edit_color': True}"/>
|
||||
<field name="tag_ids" context="{'project_id': project_id}" widget="many2many_tags" options="{'color_field': 'color', 'no_create_edit': True, 'no_edit_color': True}"/>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
|
||||
Reference in New Issue
Block a user