[FIX] account_analytic_plans: _convert_ref takes only 1 arg
Since the convert of account_invoice to the new api. _convert_ref is defined as a staticmethod in account_invoice.py
This commit is contained in:
parent
60d038c350
commit
07f355caee
|
@ -392,7 +392,7 @@ class account_invoice(osv.osv):
|
|||
if inv.type in ('in_invoice', 'in_refund'):
|
||||
ref = inv.reference
|
||||
else:
|
||||
ref = self._convert_ref(cr, uid, inv.number)
|
||||
ref = self._convert_ref(inv.number)
|
||||
obj_move_line = acct_ins_obj.browse(cr, uid, il['analytics_id'], context=context)
|
||||
ctx = context.copy()
|
||||
ctx.update({'date': inv.date_invoice})
|
||||
|
|
Loading…
Reference in New Issue