Skip to content

[19.0][MIG] website_sale_require_legal: Migration to version 19.0#1260

Merged
OCA-git-bot merged 35 commits into
OCA:19.0from
Tecnativa:19.0-mig-website_sale_require_legal
Jul 7, 2026
Merged

[19.0][MIG] website_sale_require_legal: Migration to version 19.0#1260
OCA-git-bot merged 35 commits into
OCA:19.0from
Tecnativa:19.0-mig-website_sale_require_legal

Conversation

@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor

yajo and others added 30 commits July 2, 2026 18:19
…cope

This is what the module does now:

- Add the posibility to configure legal terms acceptance requirement before saving a new partner.
- Log that acceptance as a note in the partner.
- Extend upstream's legal requirement before payment and log that acceptance as a note in the sale order.

@Tecnativa TT25963
Currently translated at 100.0% (1 of 1 strings)

Translation: e-commerce-13.0/e-commerce-13.0-website_sale_require_legal
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-website_sale_require_legal/es/
…page

TT41842

The dependency on website_legal_page has been removed because it has been merged into account
Currently translated at 100.0% (3 of 3 strings)

Translation: e-commerce-15.0/e-commerce-15.0-website_sale_require_legal
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-15-0/e-commerce-15-0-website_sale_require_legal/es/
Currently translated at 100.0% (3 of 3 strings)

Translation: e-commerce-16.0/e-commerce-16.0-website_sale_require_legal
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_require_legal/it/
Currently translated at 0.0% (0 of 3 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_require_legal
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_require_legal/de/
Currently translated at 100.0% (3 of 3 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_require_legal
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_require_legal/es/
Currently translated at 0.0% (0 of 3 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_require_legal
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_require_legal/fi/
@OCA-git-bot OCA-git-bot added series:19.0 mod:website_sale_require_legal Module website_sale_require_legal labels Jul 3, 2026
@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 19.0-mig-website_sale_require_legal branch 2 times, most recently from 95331dd to f8dcd1c Compare July 3, 2026 14:45
@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor Author

The error is caused by the website_sale_charge_payment_fee module, this needs to be checked

@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 19.0-mig-website_sale_require_legal branch from f8dcd1c to 08c4dea Compare July 6, 2026 06:51
Comment thread website_sale_require_legal/templates/website_sale.xml
@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 19.0-mig-website_sale_require_legal branch from 08c4dea to b799f95 Compare July 6, 2026 14:16

@juancarlosonate-tecnativa juancarlosonate-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration website_sale_require_legal

The README is still not clarifying why this module is needed over the standard legal terms.

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jul 6, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Jul 6, 2026
28 tasks
@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor Author

The README is still not clarifying why this module is needed over the standard legal terms.

Isn’t the detailed explanation provided in context at the time clear enough? Should it be added elsewhere in the README?

@pedrobaeza

Copy link
Copy Markdown
Member

That explanation is not reflected in the module itself, and now I don't remember it.

@pilarvargas-tecnativa pilarvargas-tecnativa force-pushed the 19.0-mig-website_sale_require_legal branch from b799f95 to 5c6a96b Compare July 7, 2026 06:30
@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor Author

That explanation is not reflected in the module itself, and now I don't remember it.

I've added a short sentence to the description to make that distinction explicit. I thought the context section already conveyed that idea, but I agree it's useful to mention it earlier as well. Do you think it's clear enough now?

https://github.com/OCA/e-commerce/blob/5c6a96b77f3d3d2293731cc043447f2d9fcd1e44/website_sale_require_legal/README.rst

@pedrobaeza

Copy link
Copy Markdown
Member

Thanks, now I remember, although I think the standard is enough for most of the cases.

@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor Author

Thanks, now I remember, although I think the standard is enough for most of the cases.

I agree, the standard option is enough for most cases. However, this functionality is still requested in real-world scenarios: requiring the acceptance of the legal terms when creating or editing an address, together with keeping metadata about the acceptance for audit or legal purposes.

@eduezerouali-tecnativa eduezerouali-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code LGTM + tested on runboat

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 19.0-ocabot-merge-pr-1260-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit b08ace0 into OCA:19.0 Jul 7, 2026
5 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza pedrobaeza deleted the 19.0-mig-website_sale_require_legal branch July 7, 2026 08:01
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.