OdooWiki OCA HUB

Cookie notice

website_cookie_notice folder_open OCA/website open_in_new
Website License: AGPL-3

This module adds the cookie notice, according to the european cookie law, to your website.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Adds a cookie notice banner to your website and a cookie policy section to your legal page. Visitors can accept cookies with an OK button, and the banner disappears.

This module adds a cookie notice banner to the top of every page of your website, as required by European cookie law. The banner appears for visitors who have not yet accepted cookies. It shows a short message explaining that the site uses cookies and links to the cookie policy. There is an OK button; when clicked, the banner is hidden and the visitor's session is marked as having accepted cookies, so the banner does not appear again during that session.

The module also adds a "Cookies Policy" section to the legal page provided by the website_legal_page module. This section includes a link in the page's table of contents and detailed content explaining what cookies are, how they are used, and the types of cookies used. The content is merged into the legal page automatically when the module is installed.

The banner is styled as a warning alert and appears above the website header. The OK button triggers a background request to record the acceptance. No other models or menus are added; the module only affects the website frontend and the legal page content.

Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 13.0

To change the cookie message:

  • Go to Settings > Technical > User Interface > Views.
  • Search for the view called cookie_message.
  • Change as you wish. Remember that you will probably lose translations then.
  • Can also change the message directly from the website using the 'Website Builder'
  • Be aware that these changes are by website.

If you are developing a theme for Odoo, remember that this message has the cc-cookies class. You can style it at will too.

To change the link to the legal page:

  • Overwrite the ** in the cookie_message_container view

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.