Skip to content

Conversation

@eduezerouali-tecnativa
Copy link
Contributor

yajo and others added 24 commits September 5, 2025 05:41
…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/
Comment on lines 39 to 40
#~ msgid "Confirm"
#~ msgstr "Potvrdi"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
#~ msgid "Confirm"
#~ msgstr "Potvrdi"

@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-website_sale_require_legal branch from b22a99b to a96fc66 Compare September 8, 2025 06:11
@pedrobaeza
Copy link
Member

/ocabot migration website_sale_require_legal

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Sep 8, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 8, 2025
40 tasks
Copy link

@alexmorel-tecnativa alexmorel-tecnativa left a comment

Choose a reason for hiding this comment

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

I performed a functional test, and its allows me save the address without confirming the terms and conditions checkbox.

  • From Edit Address, I entered the editor and enabled the following:

    • Require Legal Terms Acceptance
    • Accept Terms & Conditions
  • Edited the address and did not check the box of:

    • I agree to the terms & conditions
  • Clicked the button: Save Address

And the address was saved without giving any error.

There is onother issue, when you create a new address, it doesn't get saved, it just keeps loading:

Test.Terms.webm

@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-website_sale_require_legal branch 2 times, most recently from a55131b to 7c098e3 Compare September 10, 2025 09:44
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-website_sale_require_legal branch from 7c098e3 to edc12ee Compare September 19, 2025 07:25
@pilarvargas-tecnativa
Copy link
Contributor

Please check CI

@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-website_sale_require_legal branch 2 times, most recently from 978fe47 to 36bf063 Compare September 19, 2025 09:46
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-website_sale_require_legal branch from 36bf063 to 10a1c74 Compare October 1, 2025 14:46
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-mig-website_sale_require_legal branch from 10a1c74 to 06759f9 Compare October 1, 2025 14:56
@eduezerouali-tecnativa
Copy link
Contributor Author

@pedrobaeza @alexmorel-tecnativa could you review please?

@alexmorel-tecnativa
Copy link

alexmorel-tecnativa commented Oct 16, 2025

Thanks! @eduezerouali-tecnativa,
I performed a functional and everything is now working correctly ✅.

  • It dosen't allow saveing the address without confirming the terms and conditions checkbox.

  • When editing an address and not accepting the Terms and Conditions, it properly shows the error:
    “You must accept the Terms and Conditions to continue.”

  • When creating a new address, it correctly requires confirmation of the Terms and Conditions.

image

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit a13c3a0 into OCA:18.0 Oct 16, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 18.0-mig-website_sale_require_legal branch October 16, 2025 16:09
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.