diff options
| author | David Monjoie <dmo@odoo.com> | 2016-04-21 12:40:10 +0200 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2016-06-30 14:41:25 +0200 |
| commit | ccfea6b2f614e55c14d8dd3c2ade78d5b91906ec (patch) | |
| tree | 9e9973cffccb8be4b24c83fa746e1a8001f50d0e /addons/project_issue | |
| parent | e70605f2d19c70e108207ca702b616afe7e92e8c (diff) | |
[REM] project_issue: removed dead on_change_template override
This function was removed in 9.0 at 1dbccc8215d6efe70f3e455a52d04ddb06eba1e3.
Diffstat (limited to 'addons/project_issue')
| -rw-r--r-- | addons/project_issue/models/account_analytic_account.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/addons/project_issue/models/account_analytic_account.py b/addons/project_issue/models/account_analytic_account.py index e6de19fe2b7..76d9439abce 100644 --- a/addons/project_issue/models/account_analytic_account.py +++ b/addons/project_issue/models/account_analytic_account.py @@ -11,14 +11,6 @@ class AccountAnalyticAccount(models.Model): use_issues = fields.Boolean(string='Use Issues', help="Check this box to manage customer activities through this project") @api.multi - def on_change_template(self, template_id, date_start=False): - res = super(AccountAnalyticAccount, self).on_change_template(template_id, date_start=date_start) - if template_id and 'value' in res: - account_analytic_account = self.browse(template_id) - res['value']['use_issues'] = account_analytic_account.use_issues - return res - - @api.multi def unlink(self): if self.env['project.issue'].search_count([('project_id.analytic_account_id', 'in', self.ids)]): raise UserError(_('Please remove existing issues in the project linked to the accounts you want to delete.')) |
