[ADD] add invoice button to open related invoice
bzr revid: nco@tinyerp.com-20121025072938-1m00m2irfbqsgyn2
This commit is contained in:
@@ -48,6 +48,9 @@
|
||||
<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) ]}"/>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user