[IMP] change button attr.

bzr revid: nco@tinyerp.com-20121029112805-xppvo5fgswhq0ete
This commit is contained in:
Nimesh (Open ERP)
2012-10-29 16:58:05 +05:30
parent 690e0b075e
commit 90d58d1375
+2 -3
View File
@@ -59,9 +59,8 @@
<button type="object"
name="view_picking"
string="Incoming Shipments" states="approved"/>
<button type="object"
name="view_invoice"
string="Invoices" attrs="{'invisible': ['|', ('invoice_method','=','picking'), '|', ('state','!=', 'approved'), ('invoiced','=',False) ]}"/>
<button type="object" name="view_invoice"
string="Invoices" attrs="{'invisible': ['|', ('invoiced','=',True), ('state', '=', 'draft')]}"/>
</div>
</xpath>
</field>