Skip to content
Snippets Groups Projects
Commit 2456f673 authored by Hiral Bhavsar's avatar Hiral Bhavsar Committed by Thibault Delavallée
Browse files

[IMP] purchase: set the action menu 'Share' only for form view

For the model 'purchase.order', set the action menu 'Share' only for
the form view.

Linked to task 1984526
Related to PR #33720
parent 9f3d3eb8
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@
<field name="name">Share</field>
<field name="model_id" ref="purchase.model_purchase_order"/>
<field name="binding_model_id" ref="purchase.model_purchase_order"/>
<field name="binding_view_types">form</field>
<field name="state">code</field>
<field name="code">action = records.action_share()</field>
</record>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment