[IMP] value of invoice.comment should be blank if value is False
bzr revid: bde@tinyerp.com-20130821052528-wfo71cmpwcu1593r
This commit is contained in:
parent
02aef6ff11
commit
64fee2e674
|
@ -122,7 +122,7 @@
|
|||
assert invoice.reference == order.client_order_ref or order.name,"Reference is not correspond."
|
||||
assert invoice.partner_id.id == order.partner_invoice_id.id,"Customer does not correspond."
|
||||
assert invoice.currency_id.id == order.pricelist_id.currency_id.id, "Currency is not correspond."
|
||||
assert invoice.comment == (order.note or ''),"Note is not correspond."
|
||||
assert (invoice.comment or '') == (order.note or ''),"Note is not correspond."
|
||||
assert invoice.journal_id.id in journal_ids,"Sales Journal is not link on Invoice."
|
||||
assert invoice.payment_term.id == order.payment_term.id, "Payment term is not correspond."
|
||||
for so_line in order.order_line:
|
||||
|
|
Loading…
Reference in New Issue