Skip to content
Permalink
Browse files

🛡 logger provoked errores in tests. odoo/odoo@2b1d3ff#diff-0a8f125a3f…

  • Loading branch information...
KolushovAlexandr committed Mar 11, 2019
1 parent cf5105c commit 4149c1965acd0b9fa1d3783c9502cd9deecd66a1
@@ -18,8 +18,6 @@
'mail_base',
],
'data': [
'security/web_debranding_security.xml',
'security/ir.model.access.csv',
'data.xml',
'views.xml',
'js.xml',
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="default_logo_module" model="ir.config_parameter">
<field name="key">web_debranding.default_logo_module</field>
<field name="value">web_debranding</field>
@@ -10,5 +9,4 @@
</record>


</data>
</odoo>
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="debranding_title_js" name="Debranding title JS"
inherit_id="web.assets_backend">
<xpath expr="." position="inside">
@@ -21,5 +20,4 @@
src="/web_debranding/static/src/js/user_menu.js"></script>
</xpath>
</template>
</data>
</odoo>
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import logging
from odoo.tools import mute_logger
from odoo import models, api

from .ir_translation import debrand
@@ -72,7 +73,7 @@ def _create_view(self, name, inherit_id, arch, noupdate=False, type='qweb'):
return view.id

try:
with self.env.cr.savepoint():
with self.env.cr.savepoint(), mute_logger('odoo.models'):
view = self.env['ir.ui.view'].create({
'name': name,
'type': type,

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<data>
<template id="login_layout" inherit_id="web.login_layout" priority="8">
<xpath expr="//div[@t-if='not disable_footer']" position="replace"></xpath>
</template>
@@ -15,6 +14,5 @@
</t>
</xpath>
</template>
</data>

</odoo>

0 comments on commit 4149c19

Please sign in to comment.
You can’t perform that action at this time.