[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
This commit is contained in:
committed by
Thibault Delavallée
parent
9f3d3eb8f5
commit
2456f673de
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user