[IMP] web_favicon: Use relative import

This commit is contained in:
Pedro M. Baeza
2020-04-23 09:39:37 +02:00
committed by Daryl Chen
parent 6e7e8502d3
commit b3dfde201b

View File

@@ -25,8 +25,7 @@ class TestWebFavicon(TransactionCase):
def test_web_favicon(self):
original_request = http.request
http.request = FakeRequest(self.env)
from odoo.addons.web_favicon.controllers.web_favicon import\
WebFavicon
from ..controllers.web_favicon import WebFavicon
company = self.env['res.company'].search([], limit=1)
# default icon
company.write({