Change visability of button "TZBox-Datei importieren" in sale_view.xml

develop
Andreas Osim 2018-05-15 10:18:58 +02:00
parent cd30baee60
commit eb889a37bd
1 changed files with 2 additions and 2 deletions

View File

@ -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"/>