[FIX] account_analytic_plans: convert_ref method has been removed.

This issue is related to f4e350ca36
This commit is contained in:
Denis Ledoux 2014-10-28 16:19:26 +01:00
parent c6741fb537
commit b6c0e34b7b
1 changed files with 1 additions and 1 deletions

View File

@ -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})