Use 'province' as type for the subdivision created in the tests.

Only some subdivision types are now valid for each country.
This commit is contained in:
Albert Cervera i Areny 2020-05-03 00:10:46 +02:00
parent 9a0b4393d7
commit f761a5cf18
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class TestAccountInvoiceFacturaeCase(ModuleTestCase):
country = Country(name='Country', code='ES', code3='ESP')
country.save()
subdivision = Subdivision(
name='Subdivision', country=country, code='SUB', type='area')
name='Subdivision', country=country, code='SUB', type='province')
subdivision.save()
company = create_company()