GDPR Consent Log at Checkout - Terms Acceptance & Marketing Consent Records
by Modvanta https://modvantaapps.tech/odoo-apps/checkout-gdpr-consent/$ 4.99

Record every terms acceptance and marketing opt-in at checkout
A required terms and conditions checkbox and an unticked newsletter opt-in on the Odoo eCommerce payment step - checked on the server - with a consent log that keeps the date, time, IP address, browser, terms version and the exact wording shown.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
To show that a customer accepted your terms, or agreed to receive marketing, you need more than a ticked box: you need to know when, which version of the terms, from where, and what the text said. Standard Odoo checkout does not record that.
This module adds two checkboxes above the payment methods: I have read and accept the terms and conditions (with the terms version and a link to the terms page), and an unticked opt-in for news and offers. Payment is refused on the server until the terms box is ticked.
Every tick and untick is saved as a Consent Record with the customer, email, order, website, terms version, the wording shown, the IP address and the browser. Records cannot be edited afterwards. The order shows when the terms were accepted and which version; the contact shows whether marketing consent is given.
Who it is for
Shops selling in the EU and UK Evidence of terms acceptance and opt-in consent for GDPR. | Stores with changing terms Know exactly which terms version each customer accepted. | Marketing teams A clean, provable list of customers who opted in. |
Key features
All screenshots were taken on Odoo 19 with this module on a clean demo database with the default website theme (company Northwind Trading Co, portal customer Joel Willis, Wire Transfer as payment method).
Feature 1
Settings per website
Website -> Configuration -> Settings -> Consent at Checkout: require terms acceptance, the terms version, the terms page, and whether to offer the marketing opt-in.

Feature 2
Two checkboxes on the payment step
The terms checkbox with the version and a Read the terms link, and the marketing opt-in, both unticked, above the payment methods.

Feature 3
No payment without accepting the terms
Clicking Pay without the terms ticked was refused: Please accept the terms and conditions before paying. The check runs on the server, not only in the browser.

Feature 4
Ticked by the customer
Each tick is saved at once, so the consent is recorded even if the customer pays later.

Feature 5
Order placed
With the terms accepted the order went through as usual.

Feature 6
Consent Records
Website -> Reporting -> Consent Records lists every consent with the date, kind, granted or withdrawn, customer, email, order, terms version and IP address. Filters for terms, marketing and withdrawn, grouping by version and kind.

Feature 7
The evidence of one consent
The exact text shown to the customer, the terms version, the IP address and the full browser string. Consent records are read-only.

Feature 8
On the order
The Other Info tab of the order shows Terms Accepted On and Terms Version.

Feature 9
On the contact
The contact shows Marketing Consent in the Sales & Purchase tab, from the latest marketing consent record.

How it works, step by step
| 1 | Install the module It depends on Odoo eCommerce only. |
| 2 | Set the terms version and page Website -> Configuration -> Settings -> Consent at Checkout. |
| 3 | Customers tick at payment Terms are required; the marketing opt-in is optional and unticked by default. |
| 4 | Review the records Website -> Reporting -> Consent Records, the order and the contact. |
Settings
Settings are per website.
| Require Terms Acceptance | Show the required terms checkbox and refuse payment until it is ticked. |
| Terms Version | Shown in the checkbox text and stored on every terms consent. Change it when your terms change. |
| Terms Page | Where the Read the terms link points (default /terms). |
| Offer Marketing Opt-in | Show the unticked news and offers checkbox. |
Frequently asked questions
Is the marketing box pre-ticked?
No. It is unticked unless the customer has already given marketing consent.
Can a consent record be changed?
No. Consent records are read-only once written.
What if the customer unticks the opt-in later?
A new record is written with Granted unticked, and the contact's marketing consent follows the latest record.
Is the check only in the browser?
No. The terms acceptance is checked on the server before the payment is processed.
Does the IP address work behind a proxy?
It uses the address Odoo receives for the request; behind a reverse proxy, run Odoo in proxy mode so it is the visitor's address.
Compatibility
Odoo 19 Community and Enterprise | Depends on eCommerce | Tested 9 automated tests |
Proof of consent for every order
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 287 |
| Technical Name |
mdv_checkout_gdpr_consent |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/checkout-gdpr-consent/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module