-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
[12.0][MIG] website_portal_address #883
Conversation
2640624
to
ed91242
Compare
f59c470
to
c4ea31b
Compare
@OCA/website-maintainers can someone have a look? Thanks! @Tardo @claudiagn @mathben since you worked in the superseded PR, maybe you are interested in this one too? |
1 similar comment
@OCA/website-maintainers can someone have a look? Thanks! @Tardo @claudiagn @mathben since you worked in the superseded PR, maybe you are interested in this one too? |
I approve this pull request. |
Thanks for the approval! Can you leave a Github review? It is just the Github-way to a approve a PR, you can do it like so:
(from https://odoo-community.org/resources/review)
There is already an automated test (see tests/test_ui.py), which additional test case do you think should be added? |
values["state_id"] = False | ||
elif values["state_id"]: | ||
try: | ||
values["state_id"] = int(values["state_id"].split('-', 1)[1]) |
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.
Add a testcase, a request to call _contacts_clean-values. The dict values need a state_id.
Add a comment to ignore coverage in except ValueError.
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.
I added a test that also covers the except branch, can you check if it's ok for you now? Thanks!
|
||
if "country_id" in values and values["country_id"]: | ||
try: | ||
values["country_id"] = int(values["country_id"]) |
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.
Add a testcase, a request to call _contacts_clean-values. The dict values need a country_id.
Add a comment to ignore coverage in except ValueError.
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.
I added a test that also covers the except branch, can you check if it's ok for you now? Thanks!
955096b
to
64226d4
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.
Thanks for your contribution :-)
64226d4
to
37f4355
Compare
How can we force the runboat/build? |
37f4355
to
e514631
Compare
I just tried pushing a new commit |
CI should be fixed after #958 |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
e514631
to
67bceb2
Compare
* [ADD] Added website_portal_address module [ADD] Added website_portal_address module * [REF] pylint and js fixes * [REF] pep-8 correction * Added OCA icon
Currently translated at 100,0% (14 of 14 strings) Translation: website-9.0/website-9.0-website_portal_address Translate-URL: https://translation.odoo-community.org/projects/website-9-0/website-9-0-website_portal_address/ca/
- selected dropbox fix with correct id - add label on fields
- fix hidden address when choose contact
- fix contact to show to only limit with society
67bceb2
to
dfeeb2c
Compare
[FIX] Remove rule already in parent module [I18N] Italian translations [REF] New README format [FIX] Restore controllers inheritance [MIG] Adapt to changed templates in dependency [REF] Do not overwrite parent template
dfeeb2c
to
edf4a11
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.
Code and functional review LGTM
This PR has the |
How can we rerun the runboat/build? Thanks |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Superseding #702.
Depends on #882.Added history with format patch and squashed administrative commits.