se adicion campo fields.Amount

FossilOrigin-Name: b23b2c243daaf0788cf47736015d75eecae9f4eb55cd4d31b9e063d7fa9a0691
This commit is contained in:
bit4bit
2021-07-03 21:50:56 +00:00
parent 507ddbe558
commit b3e4a088b7
4 changed files with 22 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ def _test_simple_invoice_cufe():
invoice.customer.party.id = '800199436'
line = invoice.lines.create()
line.quantity = form.Quantity(1, '94')
line.price = form.Amount(1_500_000)
line.quantity = 1
line.price = 1_500_000
subtotal = line.taxtotal.subtotals.create()
subtotal.percent = 19.0