[IMP] change button attr.
bzr revid: nco@tinyerp.com-20121029112805-xppvo5fgswhq0ete
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user