read description + comment of invoice
This commit is contained in:
parent
0024f76192
commit
a63cdf5fcd
3 changed files with 50 additions and 33 deletions
|
@ -59,6 +59,11 @@ class DocumentTestCase(object):
|
|||
self.assertEqual(invoice.invoice_date, date(2024, 6, 17))
|
||||
self.assertEqual(invoice.currency.name, 'usd')
|
||||
self.assertEqual(invoice.company.rec_name, 'm-ds')
|
||||
self.assertEqual(invoice.description, 'Description of invoice')
|
||||
self.assertEqual(
|
||||
invoice.comment,
|
||||
'Code=1, Some notes to the customer.\n' +
|
||||
'Code=22, Subject=42, Goes to field comment.')
|
||||
invoice.save()
|
||||
|
||||
print('\n## invoice:', invoice)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue