[FIX]Hide the margin in SO if you see SO as a customer through portal, if 'Display margin on sale orders' is activated

bzr revid: dhr@tinyerp.com-20130531092311-rgtlbv55ai4223pk
This commit is contained in:
Dharti Ratani (Open ERP) 2013-05-31 14:53:11 +05:30
parent ddc7e6c994
commit 2d51566f66
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>