diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-06-22 15:09:39 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-06-22 15:09:39 +0200 |
| commit | 3c4c6aaf774213eb6e43679ded2b20f4d4866792 (patch) | |
| tree | 3b02f75c63bf97e12078d1b28fb5cb365b0c54a8 /addons/analytic_user_function | |
| parent | d4237ba62538651afd631105cf6c84489e52746e (diff) | |
| parent | 2b85a687e531ce32a8d3260c0db5a38ce4ced618 (diff) | |
[MERGE] latest trunk
bzr revid: abo@openerp.com-20120622130939-bt6d9nfolgza513t
Diffstat (limited to 'addons/analytic_user_function')
| -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> |
