[FIX] project: display share action on only form view
Before this commit, Share action was displayed on list view as well which doesn't makes sense as it will always use `active_id` only. With this commit, we are displaying `Share` action on form view only. opw-2530652 closes #70821 closes odoo/odoo#71062 X-original-commit: 45845a87ab6a6260b42abacf16811684418cd775 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
@@ -834,6 +834,7 @@
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="model_project_task"/>
|
||||
<field name="binding_view_types">form</field>
|
||||
</record>
|
||||
|
||||
<record id="unlink_project_action" model="ir.actions.server">
|
||||
|
||||
Reference in New Issue
Block a user