made invoices button invisible in sent state too
bzr revid: cha@tinyerp.com-20130220133306-dho6b01zbqx7jff2
This commit is contained in:
parent
7daccf5074
commit
2e66518989
|
@ -49,7 +49,7 @@
|
|||
name="view_picking"
|
||||
string="Incoming Shipments" states="approved"/>
|
||||
<button type="object" name="invoice_open"
|
||||
string="Invoices" attrs="{'invisible': [('state', '=', 'draft')]}"/>
|
||||
string="Invoices" attrs="{'invisible': [('state', 'in', ['draft','sent'])]}"/>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue