summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorSbh (Openerp) <sbh@tinyerp.com>2012-06-13 14:12:35 +0530
committerSbh (Openerp) <sbh@tinyerp.com>2012-06-13 14:12:35 +0530
commit70aa2353a62c00d1c322c9f8b8ef6f4b0bd04b88 (patch)
tree6f9ca2b69c5191d3f24832248305ee79febdb253 /addons/analytic_user_function/analytic_user_function_view.xml
parentc95b6d26abc54d3d597cb577410033afba971363 (diff)
parentd4271f66c883eae26da625b970de0db6528994b4 (diff)
[MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120613084235-qmc3py288v5846vz
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>