mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] hr_expense_change_analytic: for Odoo 13.0
This commit is contained in:
@@ -17,7 +17,6 @@ class ExpenseChangeWizard(models.TransientModel):
|
||||
return rec
|
||||
|
||||
@api.onchange('expense_id', 'analytic_account_id')
|
||||
@api.multi
|
||||
def _compute_analytic_warning(self):
|
||||
self.ensure_one()
|
||||
expenses = self._find_expenses_to_write_analytic(self.expense_id.analytic_account_id.id)
|
||||
@@ -30,7 +29,6 @@ class ExpenseChangeWizard(models.TransientModel):
|
||||
|
||||
|
||||
|
||||
@api.multi
|
||||
def affect_change(self):
|
||||
old_analytic_id = self.expense_id.analytic_account_id.id
|
||||
res = super(ExpenseChangeWizard, self).affect_change()
|
||||
|
||||
Reference in New Issue
Block a user