mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 08:47:40 +00:00
Be nice to pytest
This commit is contained in:
@@ -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):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user