[IMP]sale:make Quotation and Sales button invisible from suppliers form in purchase

bzr revid: help-20120828120429-cj2q2l381hhcqyd0
This commit is contained in:
help 2012-08-28 17:34:29 +05:30
parent 816852490e
commit ffd4f5c678
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@
<xpath expr="//div[@name='buttons']" position="inside">
<button name="%(sale.act_res_partner_2_sale_order)d" type="action"
string="Quotations and Sales"
attrs="{'invisible': [('customer', '=', False)]}"
groups="base.group_sale_salesman"/>
</xpath>
</field>