projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8168524
)
[IMP]sale:make Quotation and Sales button invisible from suppliers form in purchase
author
help
<>
Tue, 28 Aug 2012 12:04:29 +0000
(17:34 +0530)
committer
help
<>
Tue, 28 Aug 2012 12:04:29 +0000
(17:34 +0530)
bzr revid: help-
20120828120429
-cj2q2l381hhcqyd0
addons/sale/res_partner_view.xml
patch
|
blob
|
history
diff --git
a/addons/sale/res_partner_view.xml
b/addons/sale/res_partner_view.xml
index
f076bfd
..
7e6f785
100644
(file)
--- a/
addons/sale/res_partner_view.xml
+++ b/
addons/sale/res_partner_view.xml
@@
-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>