mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma: limit state statusbar
This commit is contained in:
@@ -328,7 +328,12 @@
|
|||||||
attrs="{'invisible':[('state', 'in', ('done', 'canceled'))]}"
|
attrs="{'invisible':[('state', 'in', ('done', 'canceled'))]}"
|
||||||
groups="rma.group_rma_customer_user"
|
groups="rma.group_rma_customer_user"
|
||||||
/>
|
/>
|
||||||
<field name="state" widget="statusbar" nolabel="1" />
|
<field
|
||||||
|
name="state"
|
||||||
|
widget="statusbar"
|
||||||
|
statusbar_visible="draft,to_approve,approved,done"
|
||||||
|
nolabel="1"
|
||||||
|
/>
|
||||||
</header>
|
</header>
|
||||||
<sheet>
|
<sheet>
|
||||||
<div name="button_box" class="oe_button_box">
|
<div name="button_box" class="oe_button_box">
|
||||||
|
|||||||
Reference in New Issue
Block a user