-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
[18.0][MIG] website_snippet_country_dropdown: Migration to version 18.0 #1090
[18.0][MIG] website_snippet_country_dropdown: Migration to version 18.0 #1090
Conversation
…try dropdown flags.
* Add demo page. * CSS to Sass. Include compiled version and CSS map. * Fix typo. * Refactor snippet code. - The `js_country_dropdown` class is added automatically by the template. - Add `extra_class` variable to highest div element. You can set it to `has-error` for example. - Add `default_value` variable to autopopulate the inputs. - `default_country` is smarter now. * Translate to Spanish. * Choose user's country by default. With this patch, when the currently logged-in user has a country in its profile, it will be chosen by default for the flag.
* Some minor improvements: fix a string, add placeholder support, document variables. * Acknowledge problem about drag and drop * Remove example link.
Allow to set custom classes to input tag with id 'no_country_field'
- Remove some garbage code. - Add readonly mode. - Add demo data. - Improve tour. @Tecnativa TT17694
Currently translated at 100.0% (9 of 9 strings) Translation: website-12.0/website-12.0-website_snippet_country_dropdown Translate-URL: https://translation.odoo-community.org/projects/website-12-0/website-12-0-website_snippet_country_dropdown/es/
Currently translated at 100.0% (9 of 9 strings) Translation: website-15.0/website-15.0-website_snippet_country_dropdown Translate-URL: https://translation.odoo-community.org/projects/website-15-0/website-15-0-website_snippet_country_dropdown/it/
To avoid the isort problem (PyCQA/isort#2077)
/ocabot migration website_snippet_country_dropdown |
382817d
to
d727fb7
Compare
22f37e4
to
4fe9a2c
Compare
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.
👍
website_snippet_country_dropdown/tests/test_snippet_country_dropdown.py
Outdated
Show resolved
Hide resolved
4fe9a2c
to
d329e9e
Compare
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at cf39d0e. Thanks a lot for contributing to OCA. ❤️ |
cc @Tecnativa TT54401
@chienandalu @CarlosRoca13 please review