[IMP] PO: made invoices button invisible in sent state too

bzr revid: fp@openerp.com-20130224112744-w642azvk63tf4lff
This commit is contained in:
Fabien Pinckaers 2013-02-24 12:27:44 +01:00
commit 5ab63ddfcd
1 changed files with 1 additions and 1 deletions

View File

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