[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:
parent
ddc7e6c994
commit
2d51566f66
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue