diff options
| author | Atul Patel (OpenERP) <atp@tinyerp.com> | 2012-06-12 14:33:50 +0530 |
|---|---|---|
| committer | Atul Patel (OpenERP) <atp@tinyerp.com> | 2012-06-12 14:33:50 +0530 |
| commit | 2474a8f1beb838cef5d65bac5d6a517bd9168ab5 (patch) | |
| tree | 8bf5b895a78bd37ce598885b81d6deea52144ab5 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | e782639f63e07a4c0240b89812183a3e3a63bdda (diff) | |
| parent | b8716390702b098c395fd452b9152481157c8b6d (diff) | |
[MERGE]: Merged lp:openobject-addons
bzr revid: atp@tinyerp.com-20120612090350-axi2bpkvs63zy3i5
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 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', '<>', '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> |
