[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user