diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-10-10 15:32:12 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2013-10-10 15:32:12 +0200 |
| commit | 65966940c89b001ce08bfccd64c14b83d10b3735 (patch) | |
| tree | 4380a291dd1e706f816ce38bd57366ac90a5d968 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 381e68ce8c427cd996a43131caeffd7979b9f535 (diff) | |
| parent | 5050231a9c0d496a557e1bb28e122c0084469ea4 (diff) | |
[MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131010133212-t058auv973pvvmjm
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
| -rw-r--r-- | addons/analytic_user_function/analytic_user_function_view.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/analytic_user_function/analytic_user_function_view.xml b/addons/analytic_user_function/analytic_user_function_view.xml index 69e1add13bb..ca148175c5a 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -8,7 +8,7 @@ <field name="model">analytic.user.funct.grid</field> <field name="arch" type="xml"> <tree string="Invoicing Data" editable="bottom"> - <field name="user_id" on_change="onchange_user_product_id(user_id, product_id)"/> + <field name="user_id" on_change="onchange_user_product_id(user_id, product_id)" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_salesman']}"/> <field name="product_id" on_change="onchange_user_product_id(user_id, product_id)" domain="[('type','=','service')]"/> <field name="price"/> <field name="uom_id" groups="product.group_uom"/> @@ -22,7 +22,7 @@ <field name="arch" type="xml"> <form string="Invoicing Data"> <group> - <field name="user_id" on_change="onchange_user_product_id(user_id, product_id)"/> + <field name="user_id" on_change="onchange_user_product_id(user_id, product_id)" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_salesman']}"/> <field name="product_id" domain="[('type','=','service')]" on_change="onchange_user_product_id(user_id, product_id)"/> <field name="price"/> <field name="uom_id" groups="product.group_uom"/> @@ -124,7 +124,7 @@ <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/> <field name="arch" type="xml"> <xpath expr="/tree/field[@name='user_id']" position="replace"> - <field name="user_id" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/> + <field name="user_id" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)" context="{'default_groups_ref': ['base.group_user']}"/> </xpath> </field> </record> |
