mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_request_submit: Consistency of string with method
TT41533
This commit is contained in:
@@ -7,21 +7,19 @@
|
|||||||
<field name="model">stock.request.order</field>
|
<field name="model">stock.request.order</field>
|
||||||
<field name="inherit_id" ref="stock_request.stock_request_order_form" />
|
<field name="inherit_id" ref="stock_request.stock_request_order_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<button name="action_confirm" position="attributes">
|
<button name="action_confirm" position="after">
|
||||||
<attribute name="name">action_submit</attribute>
|
|
||||||
<attribute
|
|
||||||
name="attrs"
|
|
||||||
>{'invisible': [('state', '!=', 'draft')]}</attribute>
|
|
||||||
</button>
|
|
||||||
<button name="action_submit" position="after">
|
|
||||||
<button
|
<button
|
||||||
name="action_confirm"
|
name="action_submit"
|
||||||
string="Submit"
|
string="Submit"
|
||||||
type="object"
|
type="object"
|
||||||
attrs="{'invisible': [('state', '!=', 'submitted')]}"
|
attrs="{'invisible': [('state', '!=', 'draft')]}"
|
||||||
groups="stock_request.group_stock_request_manager"
|
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
<button name="action_confirm" position="attributes">
|
||||||
|
<attribute
|
||||||
|
name="attrs"
|
||||||
|
>{'invisible': [('state', '!=', 'submitted')]}</attribute>
|
||||||
|
</button>
|
||||||
<button name="action_draft" position="attributes">
|
<button name="action_draft" position="attributes">
|
||||||
<attribute name="states">submitted,cancel</attribute>
|
<attribute name="states">submitted,cancel</attribute>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user