[IMP] rma: limit state statusbar

This commit is contained in:
DavidJForgeFlow
2023-02-21 15:03:29 +01:00
parent 0e29c8e938
commit acce14ce7e

View File

@@ -99,7 +99,12 @@
attrs="{'invisible':[('state', 'in', ('done', 'canceled'))]}"
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>
<sheet>
<div name="button_box" class="oe_button_box">