summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorjas <jas@tinyerp.com>2010-10-19 17:18:37 +0530
committerjas <jas@tinyerp.com>2010-10-19 17:18:37 +0530
commit3b52ae730bdbe66ef20c5f7ec01bb54bacc9c1fe (patch)
treef93b93da2ff7d273c7804ac112dafc12c3e3da62 /addons/analytic_user_function/analytic_user_function_view.xml
parent1886965ac00dd1628a3b1236be3fd6db80fbd687 (diff)
parentbc3e0aae692b74655b1d43ff74f4b6a29189866e (diff)
[MERGE] merged with trunk-dev-addons2
bzr revid: jas@tinyerp.com-20101019114837-hsmg0i201n3ra8kj
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>