[FIX] account: _get_analytic_lines() must work in @mutli beside using only self[0]
(partially revert previous commit)
This commit is contained in:
parent
2649d4ba28
commit
819e3005c2
|
@ -649,7 +649,7 @@ class account_invoice(models.Model):
|
|||
def _convert_ref(ref):
|
||||
return (ref or '').replace('/','')
|
||||
|
||||
@api.one
|
||||
@api.multi
|
||||
def _get_analytic_lines(self):
|
||||
""" Return a list of dict for creating analytic lines for self[0] """
|
||||
company_currency = self.company_id.currency_id
|
||||
|
|
Loading…
Reference in New Issue