diff options
| author | odoo-tac <tac@odoo.com> | 2015-07-15 17:24:51 +0200 |
|---|---|---|
| committer | odoo-tac <tac@odoo.com> | 2015-07-16 11:17:21 +0200 |
| commit | 9d2a86e8850942aa0f35b5149f7e720f8152c717 (patch) | |
| tree | 7b6f44847ba1f533943bf10ccbbfd8dd43f452c4 /addons/project_issue_sheet/project_issue_sheet_view.xml | |
| parent | cc2548407d0fcae16b8b3b6cf65999d3fab76586 (diff) | |
[FIX] Timesheets Modules : Issues could appear due to the change of method signature in account.analytic.line.on_change_account_id(). To prevent such issues without building a bridge module, this method always takes the right number of arguments, even if analytic_user_function is not installed
Diffstat (limited to 'addons/project_issue_sheet/project_issue_sheet_view.xml')
| -rw-r--r-- | addons/project_issue_sheet/project_issue_sheet_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_issue_sheet/project_issue_sheet_view.xml b/addons/project_issue_sheet/project_issue_sheet_view.xml index eb8f1d978bc..e44ab507716 100644 --- a/addons/project_issue_sheet/project_issue_sheet_view.xml +++ b/addons/project_issue_sheet/project_issue_sheet_view.xml @@ -29,7 +29,7 @@ <field name="date"/> <field name="user_id" required="1"/> <field name="name"/> - <field name="account_id" invisible="0" domain="[('partner_id', '=', parent.partner_id)]" on_change="on_change_account_id(account_id, context)" groups="analytic.group_analytic_accounting"/> + <field name="account_id" invisible="0" domain="[('partner_id', '=', parent.partner_id)]" on_change="on_change_account_id(account_id, user_id, is_timesheet, context)" options="{'no_open': True, 'no_create': True}" groups="analytic.group_analytic_accounting"/> <field name="unit_amount" string="Duration" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id, context)" widget="float_time"/> <field name="to_invoice" invisible="1"/> <field name="product_uom_id" invisible="1" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id, context)"/> |
