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