diff options
| author | chm@openerp.com <> | 2014-04-24 15:58:41 +0200 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-04-24 15:58:41 +0200 |
| commit | 13469c23d80099a9f6a8e754a17ae95a631b453e (patch) | |
| tree | 4884d958521f871d11897c67792c5d24445cf112 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 9932aa3b451d436685b65a613900c7cb644b4172 (diff) | |
| parent | 9cb2b9178360083e3bf49ab010a500d61d48891d (diff) | |
[MERGE] from trunk
bzr revid: chm@openerp.com-20140424135841-akc01inl26fcirwy
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 ca148175c5a..147e96f0be0 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -66,7 +66,7 @@ <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)"/> + <field name="account_id" domain="[('type','=','normal'),('state', '<>', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" context="{'default_use_timesheets': 1}"/> </xpath> </field> </record> @@ -79,7 +79,7 @@ <field name="inherit_id" ref="hr_timesheet_sheet.hr_timesheet_sheet_form"/> <field name="arch" type="xml"> <xpath expr="//field[@name='timesheet_ids']/form/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)"/> + <field name="account_id" domain="[('type','=','normal'),('state', '<>', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" context="{'default_use_timesheets': 1}"/> </xpath> </field> </record> |
