[FIX] account_analytic_plans: convert_ref method has been removed.
This issue is related to f4e350ca36
This commit is contained in:
parent
c6741fb537
commit
b6c0e34b7b
|
@ -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(inv.number)
|
||||
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