diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-05-31 14:27:45 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-05-31 14:27:45 +0200 |
| commit | 4eb57678cb0c2d7b8bff0c8ad355cc2a4c5c4e7c (patch) | |
| tree | 64a28ac84619a64e93c6ed0655b0b4f1455b8386 | |
| parent | 5b83d03ac1a62c12814da0060a322133a726c2a9 (diff) | |
| parent | 2d51566f666b9219b767d56f6e8bb1cf1907891b (diff) | |
[FIX] sale_margin: when sharing a SO with a customer, don't show the margin
bzr revid: qdp-launchpad@openerp.com-20130531122745-lkhi0nftibhu325j
| -rw-r--r-- | addons/sale_margin/sale_margin_view.xml | 2 |
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> |
