Add codification of tax rates (#4372)

* draft

* .

* Rebase migration

* Update src/pretix/base/models/tax.py

Co-authored-by: Mira <weller@rami.io>

* Test, isort, flake, migration rebase

* carry data & API

* Fix failing tests

* docs fixes

* Improve validation

* Tests

* More fixes

---------

Co-authored-by: Mira <weller@rami.io>
This commit is contained in:
Raphael Michel
2024-12-13 12:04:38 +01:00
committed by GitHub
parent a4385c8b6e
commit 53f129d5d3
36 changed files with 818 additions and 124 deletions

View File

@@ -475,6 +475,7 @@ def test_order_create_invoice(token_client, organizer, event, order):
'gross_value': '23.00',
'tax_value': '0.00',
'tax_rate': '0.00',
'tax_code': None,
'tax_name': ''
},
{
@@ -492,6 +493,7 @@ def test_order_create_invoice(token_client, organizer, event, order):
'gross_value': '0.25',
'tax_value': '0.05',
'tax_rate': '19.00',
'tax_code': None,
'tax_name': ''
}
],