Skip to content
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

Closed
wants to merge 11 commits into from

Conversation

SirTakobi
Copy link

@SirTakobi SirTakobi commented Mar 21, 2022

Superseding #702.

Depends on #882.

Added history with format patch and squashed administrative commits.

@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch 2 times, most recently from 2640624 to ed91242 Compare March 21, 2022 17:32
@SirTakobi SirTakobi marked this pull request as ready for review March 22, 2022 16:34
@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch 2 times, most recently from f59c470 to c4ea31b Compare May 4, 2022 13:32
@SirTakobi
Copy link
Author

@OCA/website-maintainers can someone have a look? Thanks!
cc @takobi-online

@Tardo @claudiagn @mathben since you worked in the superseded PR, maybe you are interested in this one too?

1 similar comment
@SirTakobi
Copy link
Author

@OCA/website-maintainers can someone have a look? Thanks!
cc @takobi-online

@Tardo @claudiagn @mathben since you worked in the superseded PR, maybe you are interested in this one too?

@mathben
Copy link

mathben commented Jul 21, 2022

I approve this pull request.
Can we add test case?

@SirTakobi
Copy link
Author

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:

leave a review on GitHub (accessible in the "Review changes" green button on the third tab - Files changed -) with:

  • Approve if everything worked as expected
  • Comment or Request changes with the description of the mismatch otherwise.

(from https://odoo-community.org/resources/review)

Can we add test case?

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])
Copy link

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.

Copy link
Author

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"])
Copy link

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.

Copy link
Author

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!

@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch 2 times, most recently from 955096b to 64226d4 Compare August 5, 2022 13:34
@SirTakobi SirTakobi requested a review from mathben August 22, 2022 15:06
Copy link

@mathben mathben left a 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 :-)

@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch from 64226d4 to 37f4355 Compare August 26, 2022 07:44
@mathben
Copy link

mathben commented Dec 31, 2022

How can we force the runboat/build?

@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch from 37f4355 to e514631 Compare January 2, 2023 09:57
@SirTakobi
Copy link
Author

SirTakobi commented Jan 2, 2023

How can we force the runboat/build?

I just tried pushing a new commit

@SirTakobi
Copy link
Author

CI should be fixed after #958

@github-actions
Copy link

github-actions bot commented Jul 2, 2023

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 2, 2023
@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch from e514631 to 67bceb2 Compare July 7, 2023 09:05
JayVora-SerpentCS and others added 7 commits July 7, 2023 11:06
* [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
@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch from 67bceb2 to dfeeb2c Compare July 7, 2023 09:06
[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
@SirTakobi SirTakobi force-pushed the 12.0-mig-website_portal_address branch from dfeeb2c to edf4a11 Compare July 7, 2023 10:22
Copy link

@aleuffre aleuffre left a 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

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 9, 2023
@mathben
Copy link

mathben commented Oct 10, 2023

How can we rerun the runboat/build? Thanks

Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 10, 2024
@github-actions github-actions bot closed this Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ready to merge stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants