[FIX] sale_margin: when sharing a SO with a customer, don't show the margin

bzr revid: qdp-launchpad@openerp.com-20130531122745-lkhi0nftibhu325j
This commit is contained in:
Quentin (OpenERP) 2013-05-31 14:27:45 +02:00
commit 4eb57678cb
1 changed files with 1 additions and 1 deletions

View File

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