Be nice to pytest

This commit is contained in:
Yannick Payot
2023-05-11 18:40:38 +02:00
parent 86237667e7
commit af40f761ca
@@ -3,6 +3,11 @@
from odoo import _, api, fields, models from odoo import _, api, fields, models
from odoo.exceptions import ValidationError from odoo.exceptions import ValidationError
# make pytest happy
# in pytest context module dependencies are not loaded
# thus FileURL is unknown
from odoo.addons import base_fileurl_field # noqa
class ResPartner(models.Model): class ResPartner(models.Model):