[IMP]account:field supplier invoice number should be set in journal entry as description
bzr revid: pna@tinyerp.com-20130215095801-wstbzqniydainl4s
This commit is contained in:
parent
5cdb8efab6
commit
eb6ba5ba47
|
@ -926,7 +926,7 @@ class account_invoice(osv.osv):
|
|||
total, total_currency, iml = self.compute_invoice_totals(cr, uid, inv, company_currency, ref, iml, context=ctx)
|
||||
acc_id = inv.account_id.id
|
||||
|
||||
name = inv['name'] or '/'
|
||||
name = inv['name'] or inv['supplier_invoice_number'] or '/'
|
||||
totlines = False
|
||||
if inv.payment_term:
|
||||
totlines = payment_term_obj.compute(cr,
|
||||
|
|
Loading…
Reference in New Issue