diff --git a/tests/scenario_invoice.rst b/tests/scenario_invoice.rst index 1efe0c8eb0..0e3fe204fb 100644 --- a/tests/scenario_invoice.rst +++ b/tests/scenario_invoice.rst @@ -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') diff --git a/tests/scenario_invoice_supplier.rst b/tests/scenario_invoice_supplier.rst index 5e08afe5d2..666c668a14 100644 --- a/tests/scenario_invoice_supplier.rst +++ b/tests/scenario_invoice_supplier.rst @@ -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')