Skip to content

[19.0][MIG] website_legal_page: Migration to 19.0 - #1244

Open
szalatyzuzanna wants to merge 53 commits into
OCA:19.0from
BinhexTeam:19.0-mig-website_legal_page
Open

szalatyzuzanna wants to merge 53 commits into
OCA:19.0from
BinhexTeam:19.0-mig-website_legal_page

Conversation

@szalatyzuzanna

Copy link
Copy Markdown

Migration of website_legal_page to 19.0.

Supersedes #1139 (closed as stale) and #1241 (closed by its author).

Changes:

  • Adapt the footer link to the new 19.0 copyright layout. Odoo now renders the copyright block as a reversed flex column with small text, so the link (inserted after the copyright name, like the core language selector) is displayed on its own line. The leading "-" separator is removed and the small class is added so it matches the copyright text.

The legal page template and its website.page record work as-is.

@BinhexTeam

Antonio Espinosa and others added 30 commits November 10, 2026 11:17
- Fix review comments
- Icon changed
- Bug tracker added
- [IMP] README and OCA as author

[FIX] Space at the end of a traslation line

[FIX] mailto links in default legal pages is malformed

OCA Transbot updated translations from Transifex
Many submodules from this one need the template I'm adding.

Having it here allows for better reusability and avoids duplicated translation efforts.
OCA Transbot updated translations from Transifex
* Move legal pages to explicit /legal routes

Fixes by PR review

Fix my obvious lack of testing
- Update copyright headers.
- Update copyright holders data.
- Remove .pot file.
- Add migration script.
* [ADD][website_multi_theme] Allow different themes by website

This a somewhat hacky addon that adds support for setting a different theme by website.

Always updates views arch in development and demo instances.

This allows faster development, while keeping stability and no surprises in production.

* fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! fixup! fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! fixup! fixup! fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! fixup! fixup! fixup! fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* [FIX][website_legal_page] Correctly raise a 404 error instead of a 500 if a view is not found

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! [ADD][website_multi_theme] Allow different themes by website

* fixup! [FIX][website_legal_page] Correctly raise a 404 error instead of a 500 if a view is not found

* squash! fixup! [FIX][website_legal_page] Correctly raise a 404 error instead of a 500 if a view is not found

Fix tests that were getting warnings logged and random timeouts.
[FIX] Linter on website_multi_theme py file
[FIX] website_legal_page: Fix PO
Currently translated at 100,0% (49 of 49 strings)

Translation: website-11.0/website-11.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_legal_page/de/
Currently translated at 91,8% (45 of 49 strings)

Translation: website-11.0/website-11.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_legal_page/es/
Currently translated at 91,8% (45 of 49 strings)

Translation: website-11.0/website-11.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-11-0/website-11-0-website_legal_page/es/
IMP  website_legal_page with CSS classes to ease styling
FIX README
[FIX] website_legal_page: update view names
Currently translated at 100.0% (49 of 49 strings)

Translation: website-12.0/website-12.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-12-0/website-12-0-website_legal_page/pt_BR/
ska-ibees and others added 22 commits November 10, 2026 11:17
Translated using Weblate (Spanish (Argentina))

Currently translated at 100.0% (35 of 35 strings)

Translation: website-14.0/website-14.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_legal_page/es_AR/
Currently translated at 7.8% (4 of 51 strings)

Translation: website-14.0/website-14.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_legal_page/ca/
Currently translated at 100.0% (51 of 51 strings)

Translation: website-14.0/website-14.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_legal_page/it/
…or hook

[UPD] Update website_legal_page.pot

[UPD] README.rst
Currently translated at 98.0% (50 of 51 strings)

Translation: website-15.0/website-15.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-15-0/website-15-0-website_legal_page/de/
Remove redirection of /terms to /legal but maintain module to
complement account terms or to set legal terms to pages that
has not account installed.

[UPD] Update website_legal_page.pot

[UPD] README.rst

website_legal_page 15.0.2.0.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: website-15.0/website-15.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-15-0/website-15-0-website_legal_page/
[UPD] Update website_legal_page.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/
Currently translated at 41.1% (14 of 34 strings)

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/es/

Translated using Weblate (Spanish)

Currently translated at 55.8% (19 of 34 strings)

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/es/

[UPD] README.rst
Currently translated at 100.0% (34 of 34 strings)

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/es/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/
Currently translated at 100.0% (34 of 34 strings)

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (34 of 34 strings)

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/it/
In some cases, Odoo wraps original span inside another span for
translation, so this change allows it to be found eitherwise.

[BOT] post-merge updates
Currently translated at 100.0% (34 of 34 strings)

Translation: website-16.0/website-16.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page/pt_BR/
Currently translated at 100.0% (34 of 34 strings)

Translation: website-18.0/website-18.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_legal_page/sl/
Currently translated at 100.0% (34 of 34 strings)

Translation: website-18.0/website-18.0-website_legal_page
Translate-URL: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_legal_page/fr/
@oca-cla-bot

oca-cla-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

@OCA-git-bot OCA-git-bot added series:19.0 mod:website_legal_page Module website_legal_page labels Nov 10, 2026
@szalatyzuzanna
szalatyzuzanna marked this pull request as ready for review November 11, 2026 09:47
@szalatyzuzanna
szalatyzuzanna force-pushed the 19.0-mig-website_legal_page branch from a8b9556 to 485395a Compare November 11, 2026 09:54

@oliverg09 oliverg09 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

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

Labels

mod:website_legal_page Module website_legal_page series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.