summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authornvi-openerp <nicolas.vanhoren@openerp.com>2010-10-19 16:16:45 +0200
committernvi-openerp <nicolas.vanhoren@openerp.com>2010-10-19 16:16:45 +0200
commit14d6b9014e06e9a13c224c78e510158ec9fb2004 (patch)
tree76c9e3be438e52248963a619a13923cae36b52e4 /addons/analytic_user_function/analytic_user_function_view.xml
parent4de2288604700492822e3afb39ff7f3ba51099de (diff)
parent0e34d1d2efc976813f0a24f2452df14715461d9e (diff)
[merge]
bzr revid: nicolas.vanhoren@openerp.com-20101019141645-d5uj96r9dn7ut8wz
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
-rw-r--r--addons/analytic_user_function/analytic_user_function_view.xml4
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', '&lt;&gt;', '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>