Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] website_cookiebot: Migration to version 15.0 #935

Merged
merged 5 commits into from
Jan 6, 2023

Conversation

stefan-tecnativa
Copy link

cc @Tecnativa TT39017

@chienandalu @pedrobaeza please review!

antonio-trey and others added 4 commits January 2, 2023 09:43
- Reorganize templates.
- Make templates noupdate=0, because if user edits them, it will be in the COW'd, website-specific version, so no problem on that.
- Rename `cookiebot_id` to `cookiebot_dgid` to avoid confusion with X2many fields.
- Remove ICP support, as the DGID should be per website.
- Add ID placeholders to Cookie Declaration page editable sections.
- Ensure Google Analytic script is blocked before consenting statistics. FTR it wasn't actually being blocked.
- Improve instructions.
- Split README.
- Apply pre-commit.

@Tecnativa TT32828
Comment on lines 5 to 14
<template id="layout_footer_copyright" inherit_id="web.frontend_layout">
<xpath
expr="//body"
position="inside"
>
<div>
<span t-if="website.cookiebot_dgid">- <a
href="/legal/cookies-policy"
>Cookies Policy</a></span>
</div>

</xpath>
</template>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check this other module implementation that will give you a clue on how to make it better (inherit from that other template): https://github.com/OCA/website/blob/14.0/website_legal_page/views/website_legal_main_page.xml#L4-L18

@stefan-tecnativa stefan-tecnativa force-pushed the 15.0-mig-website_cookiebot branch from afd69a1 to dfb4de7 Compare January 4, 2023 10:55
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pedrobaeza
Copy link
Member

/ocabot migration website_cookiebot

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Jan 6, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 6, 2023
12 tasks
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-935-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit d7bfbdf into OCA:15.0 Jan 6, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6e22930. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants