[REM] project_issue: removed dead on_change_template override
This function was removed in 9.0 at 1dbccc8215.
This commit is contained in:
@@ -10,14 +10,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)]):
|
||||
|
||||
Reference in New Issue
Block a user