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:
parent
9a0b4393d7
commit
f761a5cf18
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue