summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorJigar Amin - OpenERP <jam@tinyerp.com>2012-06-12 10:36:28 +0530
committerJigar Amin - OpenERP <jam@tinyerp.com>2012-06-12 10:36:28 +0530
commitc6d029b263dbacd771c449de349fa2d0ceeaed8c (patch)
treeb101c42d740f56e7cc1572708bba01ace3505118 /addons/analytic_user_function/analytic_user_function_view.xml
parent3ca5ca3119c4f92576a5c09ad4b7e36c0ba38056 (diff)
parentc12e32ca24f83c6d279db7d80e89565ce4f2193b (diff)
[MERGE] lp:openobject-addons
bzr revid: jam@tinyerp.com-20120612050628-2la1082qfg9sb0g5
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 0582655374f..d14ed977776 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/notebook/page[@string='Information']/group/field[@name='account_id']" position="replace">
+ <xpath expr="//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/group/field[@name='user_id']" position="replace">
+ <xpath expr="//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>