Change visability of button "TZBox-Datei importieren" in sale_view.xml
parent
cd30baee60
commit
eb889a37bd
|
|
@ -8,8 +8,8 @@
|
|||
<field name="arch" type="xml">
|
||||
<xpath expr="//sheet" position="before">
|
||||
<header>
|
||||
<button name="%(action_wizard_import_tzbox)d" string="TZBox-Datei importieren" type="action"
|
||||
class="btn-danger" attrs="{'invisible':['|','|',('state','!=','draft'),('order_type','!=','T'),('assembly_state','not in',[False,'import_failed'])]}"/>
|
||||
<button name="%(action_wizard_import_tzbox)d" string="TZBox-Datei importieren" type="action" class="oe_highlight oe_read_only"
|
||||
attrs="{'invisible':['|','|',('state','!=','draft'),('order_type','!=','T'),('assembly_state','not in',[False,'import_failed'])]}"/>
|
||||
</header>
|
||||
</xpath>
|
||||
<field name="client_order_ref" position="replace"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue