parent
48c67c7259
commit
a7f846752a
@ -12,7 +12,9 @@ class TestResPartner(common.TransactionCase):
|
|||||||
super(TestResPartner, self).setUp()
|
super(TestResPartner, self).setUp()
|
||||||
self.company = self.env.user.company_id
|
self.company = self.env.user.company_id
|
||||||
self.company.vat_check_vies = True
|
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"
|
self.vatnumber_path = "odoo.addons.base_vat.models.res_partner.check_vies"
|
||||||
|
|
||||||
def test_validate_vat_vies(self):
|
def test_validate_vat_vies(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user