Skip to content

Commit

Permalink
[FIX] inherit problems with planning enterprise module
Browse files Browse the repository at this point in the history
With website_odoo_debranding installed it was not possible to install enterprise planning. Planning relies on <t t-call="web.brand_promotion_message"> sections which was removed with replacing the o_brand_promotion.
  • Loading branch information
NICO-SOLUTIONS committed Mar 23, 2024
1 parent e376070 commit 8292862
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions website_odoo_debranding/templates/disable_odoo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
<!-- Remove "Create a free website with Odoo" -->
<template
id="layout_footer_copyright"
inherit_id="website.brand_promotion"
inherit_id="web.brand_promotion_message"
customize_show="True"
name="Remove Odoo Promotional Link"
priority="999"
>
<xpath expr="//div[hasclass('o_brand_promotion')]" position="replace">
<div class="o_brand_promotion" />
<xpath expr="//t[@t-set='final_message']" position="replace">
<t t-set="final_message" />
</xpath>
<xpath expr="//t[@t-out]" position="replace">
<t t-out="final_message" />
</xpath>
</template>
</odoo>

0 comments on commit 8292862

Please sign in to comment.