fix visibillity of wizard so duplicate

This commit is contained in:
Benoît Vézina 2024-05-14 13:48:31 -04:00
parent 4d1883475c
commit 737f3c0bd1

View file

@ -7,7 +7,7 @@
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<header>
<button class="oe_highlight" invisible="state != 'draft'" name="action_duplicate_order" string="Duplicate Order" type="object"/>
<button class="oe_highlight" name="action_duplicate_order" string="Duplicate Order" type="object"/>
</header></field>
</record>
<!-- explicit list view definition -->