diff options
| author | Frédéric van der Essen <fvdessen@gmail.com> | 2014-12-09 23:38:33 +0100 |
|---|---|---|
| committer | Frédéric van der Essen <fvdessen@gmail.com> | 2014-12-09 23:38:33 +0100 |
| commit | c15f748be05b3709f5e16680569abdc2949468e2 (patch) | |
| tree | 789ba27f8b598d5133bfe2dbb2f78c9143fb09ea /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 1dbf153eb51303c4186ca5e2dacd729aadd95f28 (diff) | |
| parent | b5164698f255633e68e6c3b75f30eae8492326dc (diff) | |
[MERGE] from master
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 96caee37b1b..67d8672f44b 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -65,8 +65,8 @@ <field name="priority" eval="18"/> <field name="inherit_id" ref="hr_timesheet_sheet.hr_timesheet_sheet_form"/> <field name="arch" type="xml"> - <xpath expr="//field[@name='timesheet_ids']/tree/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)" context="{'default_invoice_on_timesheets': 1}"/> + <xpath expr="//field[@name='timesheet_ids']/tree/field[@name='account_id']" position="attributes"> + <attribute name="on_change">on_change_account_id(account_id, user_id, unit_amount)</attribute> </xpath> </field> </record> |
