-
-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15.0 mig website legal page #875
Conversation
- 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
Many submodules from this one need the template I'm adding. Having it here allows for better reusability and avoids duplicated translation efforts.
* 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 OCA#415 now that odoo/odoo#22438 has been fixed upstream.
[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/
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/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review, LG 👍
from odoo import SUPERUSER_ID, api | ||
|
||
|
||
def _merge_views(env, xmlids): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we can have some unit tests for this method?
If you don't have the time, don't worry about it..
|
||
|
||
class WebsiteLegalPage(http.Controller): | ||
@http.route(["/shop/terms"], type="http", auth="public", website=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be pending.
Functional review 👍 PR name should be: [MIG] website_legal_page: Migration to 15.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional review 👍🏻
No description provided.