[IMP] rma_repair: adapt to simplification on rma.line form view.

This commit is contained in:
Lois Rilo
2021-03-26 12:17:11 +01:00
parent 3219aa873f
commit fda3cc464e

View File

@@ -48,9 +48,15 @@
<header position="inside">
<button
name="%(action_rma_order_line_make_repair)d"
states="approved"
string="Create Repair Order"
class="oe_highlight"
attrs="{'invisible':['|', '|', ('type', '!=', 'customer'), ('qty_to_repair', '=', 0), ('state', '!=', 'approved')]}"
type="action"
/>
<button
name="%(action_rma_order_line_make_repair)d"
string="Create Repair Order"
attrs="{'invisible':['|', '|', ('type', '!=', 'customer'), ('qty_to_repair', '!=', 0), ('state', '!=', 'approved')]}"
type="action"
/>
</header>