summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2013-05-31 14:27:45 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2013-05-31 14:27:45 +0200
commit4eb57678cb0c2d7b8bff0c8ad355cc2a4c5c4e7c (patch)
tree64a28ac84619a64e93c6ed0655b0b4f1455b8386 /addons
parent5b83d03ac1a62c12814da0060a322133a726c2a9 (diff)
parent2d51566f666b9219b767d56f6e8bb1cf1907891b (diff)
[FIX] sale_margin: when sharing a SO with a customer, don't show the margin
bzr revid: qdp-launchpad@openerp.com-20130531122745-lkhi0nftibhu325j
Diffstat (limited to 'addons')
-rw-r--r--addons/sale_margin/sale_margin_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_margin/sale_margin_view.xml b/addons/sale_margin/sale_margin_view.xml
index 88647ea3c46..be16429526a 100644
--- a/addons/sale_margin/sale_margin_view.xml
+++ b/addons/sale_margin/sale_margin_view.xml
@@ -9,7 +9,7 @@
<field name="arch" type="xml">
<xpath expr="//group[@name='sale_total']" position="after">
<group name="sale_margin_grp">
- <field name="margin" widget='monetary' options="{'currency_field': 'currency_id'}"/>
+ <field name="margin" widget='monetary' options="{'currency_field': 'currency_id'}" groups="base.group_user"/>
</group>
</xpath>
</field>