Skip to content

Commit

Permalink
Merge PR #901 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jun 6, 2022
2 parents cb66abf + bbea52e commit c0d1926
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website_odoo_debranding/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ def post_init_hook(cr, registry):
# For CI/CD avoids problems testing modules that removes/positioning elements
# that other modules uses in their tests.
if config["test_enable"] or config["test_file"]:
with api.Environment.manage():
env = api.Environment(cr, SUPERUSER_ID, {})
env.ref("website_odoo_debranding.layout_footer_copyright").active = False
env = api.Environment(cr, SUPERUSER_ID, {})
env.ref("website_odoo_debranding.layout_footer_copyright").active = False

0 comments on commit c0d1926

Please sign in to comment.