Use rate instead of percentage in scenarios.
review962002
This commit is contained in:
1 parent
cd59025fec
commit
40843247e8
2 files changed
+2
-2
No files matched your search
@@ -120,7 +120,7 @@ Create tax::
|
||||
>>> tax.name = 'Tax'
|
||||
>>> tax.description = 'Tax'
|
||||
>>> tax.type = 'percentage'
|
||||
>>> tax.percentage = Decimal(10)
|
||||
>>> tax.rate = Decimal('.10')
|
||||
>>> tax.invoice_account = account_tax
|
||||
>>> tax.credit_note_account = account_tax
|
||||
>>> invoice_base_code = TaxCode(name='invoice base')
|
||||
|
||||
@@ -120,7 +120,7 @@ Create tax::
|
||||
>>> tax.name = 'Tax'
|
||||
>>> tax.description = 'Tax'
|
||||
>>> tax.type = 'percentage'
|
||||
>>> tax.percentage = Decimal(10)
|
||||
>>> tax.rate = Decimal('.10')
|
||||
>>> tax.invoice_account = account_tax
|
||||
>>> tax.credit_note_account = account_tax
|
||||
>>> invoice_base_code = TaxCode(name='invoice base')
|
||||
|
||||
Reference in new issue
Block a user