This question has been flagged
1 Reply
1977 Views

Hi i'm fairly new to odoo, i have make module for add cookie bot for my website. i get cookie bot key from a systems parameter value(cookiebot_key_val) here my code attached after installing all cookiebot banner is correctly appear but when i click applications button it's not working (url shows like this: http://localhost:8013/?fw=1#)  I am using Odoo 13 enterprise edition by the way. Thanks in advance for any help! 

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_frontend" inherit_id="web.assets_frontend">
<xpath expr="." position="inside">
<t t-set="cookiebot_key_val" t-value="request.env['ir.config_parameter'].sudo().get_param('cookiebot_banner')"/>
<t t-if="cookiebot_key_val">
<script id="Cookiebot" t-attf-src="https://consent.cookiebot.com/uc.js" t-att-data-cbid='cookiebot_key_val' data-blockingmode="auto" type="text/javascript"/>
<script id="CookieDeclaration" t-attf-src="https://consent.cookiebot.com/#{cookiebot_key_val}/cd.js" type="text/javascript" async="async"/>
</t>
</xpath>
</template>
</odoo>
Avatar
Discard
Best Answer

Hi, I'm Newbie for this Forum. Can you Provide More Info About this  BLog. What is Doing -->

https://rovecartsnation.com/

Avatar
Discard