diff options
| author | uco (OpenERP) <uco@tinyerp.com> | 2010-10-20 10:15:39 +0530 |
|---|---|---|
| committer | uco (OpenERP) <uco@tinyerp.com> | 2010-10-20 10:15:39 +0530 |
| commit | 7f1aff76daf09c6b7f373081899ab69767d528f2 (patch) | |
| tree | 90e49d35ae93b8ec903c170a0fe35e2186a7410d /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | cda1e07d4475ab59e56e76da5bfb7c6e49a6992d (diff) | |
| parent | 0e34d1d2efc976813f0a24f2452df14715461d9e (diff) | |
[MERGE]
bzr revid: uco@tinyerp.com-20101020044539-g3xz8jlet4gzvach
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
| -rw-r--r-- | addons/analytic_user_function/analytic_user_function_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/analytic_user_function/analytic_user_function_view.xml b/addons/analytic_user_function/analytic_user_function_view.xml index 0bb4c89c973..1863dd42fb5 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -77,7 +77,7 @@ <field name="type">form</field> <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/> <field name="arch" type="xml"> - <xpath expr="/form/field[@name='account_id']" position="replace"> + <xpath expr="/form/notebook/page[@string='Information']/group/field[@name='account_id']" position="replace"> <field name="account_id" domain="[('type','=','normal'),('state', '<>', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" select="1"/> </xpath> </field> @@ -89,7 +89,7 @@ <field name="type">form</field> <field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/> <field name="arch" type="xml"> - <xpath expr="/form/field[@name='user_id']" position="replace"> + <xpath expr="/form/group/field[@name='user_id']" position="replace"> <field name="user_id" select="1" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/> </xpath> </field> |
