Conversation
53b1e1f to
98b188e
Compare
98b188e to
317d3f4
Compare
|
I edit multiple time, it was more simple to store into HTML if need require_login, and change Javascript flow. |
57316dd to
eb885f9
Compare
|
I begin to write test with a GPT I test manually multiple case (with/without option, with public/connected user). |
TuxLeGrand
left a comment
There was a problem hiding this comment.
It's working fine on my server with Odoo 18
a6d8e31 to
c449cba
Compare
|
Would you like to review my PR please @FrancoMaxime @pilarvargas-tecnativa |
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-12.0/event-12.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-12-0/event-12-0-website_event_require_login/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-12.0/event-12.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-12-0/event-12-0-website_event_require_login/
[UPD] Update website_event_require_login.pot [UPD] README.rst
Wrong call of render_template() . _render_template() converted a private function in standard Odoo v14.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/it/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/it/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/es/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/it/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/it/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/ca/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/de/
Currently translated at 100.0% (8 of 8 strings) Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-16.0/event-16.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-16-0/event-16-0-website_event_require_login/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-17.0/event-17.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-17-0/event-17-0-website_event_require_login/
Currently translated at 100.0% (7 of 7 strings) Translation: event-17.0/event-17.0-website_event_require_login Translate-URL: https://translation.odoo-community.org/projects/event-17-0/event-17-0-website_event_require_login/fi/
c449cba to
c9dc7d9
Compare
pilarvargas-tecnativa
left a comment
There was a problem hiding this comment.
Hello, thank you for your work. All changes incorporated into the migration should go into the migration commit with the tag [MIG].
- README.md update website_event_require_login - patch EventRegistrationForm onClick - add data require-login into form registration - remove registration flow modal when detect registration require from Javascript - add contributor TechnoLibre tests ui with tours - test website_event_require_login_public - test website_event_require_login_auth
c9dc7d9 to
005f73d
Compare
|
@pilarvargas-tecnativa |
Take module from https://github.com/OCA/event/tree/17.0/website_event_require_login, apply OCA migration script and fix the Javascript.
The Javascript from Odoo 17
https://github.com/odoo/odoo/blob/17.0/addons/website_event/static/src/js/website_event.js#L68
is different from Odoo 18
https://github.com/odoo/odoo/blob/18.0/addons/website_event/static/src/js/website_event.js#L72
When detect require_login, cancel the website_event javascript _onClick and show modal.