diff options
| author | Barad Mahendra <mba@tinyerp.com> | 2014-04-15 15:00:47 +0530 |
|---|---|---|
| committer | Barad Mahendra <mba@tinyerp.com> | 2014-04-15 15:00:47 +0530 |
| commit | 12b0dfa9b566a6ef664f35a55f574de5686fdedf (patch) | |
| tree | 09fd9e50398249c4c36dc29eeaea7e8a43d1c498 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 59ca5c36b8088f2abccb8dace85f638116abf458 (diff) | |
| parent | 14be89970611e344026883e9f1e6d0a918f62876 (diff) | |
[Merge]with trunk
bzr revid: mba@tinyerp.com-20140415093047-1ctqspzbofv1pt3d
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> |
