3
0
Fork 0

[IMP] web_favicon: Use relative import

12.0
Pedro M. Baeza 2020-04-23 09:39:37 +02:00
parent 67303731e6
commit 6feaf58d4c
1 changed files with 1 additions and 2 deletions

View File

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