2
0

[FIX] base_vat_optional_vies: greenify test

Adapt test to b2257dd0b3
This commit is contained in:
Miquel Raïch 2021-12-16 10:56:40 +01:00 committed by Rodrigo
parent 48c67c7259
commit a7f846752a

View File

@ -12,7 +12,9 @@ class TestResPartner(common.TransactionCase):
super(TestResPartner, self).setUp()
self.company = self.env.user.company_id
self.company.vat_check_vies = True
self.partner = self.env["res.partner"].create({"name": "Test partner"})
self.partner = self.env["res.partner"].create(
{"name": "Test partner", "is_company": True}
)
self.vatnumber_path = "odoo.addons.base_vat.models.res_partner.check_vies"
def test_validate_vat_vies(self):