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

[16.0][MIG] stock_quantity_history_location: Migration to 16.0 #275

Merged

Conversation

slitheryduke11
Copy link
Contributor

@slitheryduke11 slitheryduke11 commented May 4, 2023

The group attribute is added to the 'include_child_locations' field because the module could not be installed otherwise.

Also, a conditional that is never reached is removed because the model's native method always returns a dictionary, making the conditional unnecessary.

JordiBForgeFlow and others added 22 commits May 2, 2023 13:41
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-reporting-13.0/stock-logistics-reporting-13.0-stock_quantity_history_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-13-0/stock-logistics-reporting-13-0-stock_quantity_history_location/ro/
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-reporting-13.0/stock-logistics-reporting-13.0-stock_quantity_history_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-13-0/stock-logistics-reporting-13-0-stock_quantity_history_location/it/
…rors according to stock_account_quantity_history_location
Currently translated at 100.0% (6 of 6 strings)

Translation: stock-logistics-reporting-14.0/stock-logistics-reporting-14.0-stock_quantity_history_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-14-0/stock-logistics-reporting-14-0-stock_quantity_history_location/ja/
Co-authored-by: DavidJForgeFlow <david.jimenez@forgeflow.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-reporting-15.0/stock-logistics-reporting-15.0-stock_quantity_history_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-15-0/stock-logistics-reporting-15-0-stock_quantity_history_location/
@slitheryduke11 slitheryduke11 force-pushed the 16.0-mig-stock_quantity_history_location branch 4 times, most recently from e776675 to 4b42306 Compare May 8, 2023 17:44
@slitheryduke11
Copy link
Contributor Author

Hi @luisg123v, @JordiBForgeFlow, @ernestotejeda . I think the migration of this module to 16.0 is ready.

I would appreciate it if you could help me with the review.

Thanks in advance!

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration stock_quantity_history_location

Copy link
Sponsor Contributor

@rousseldenis rousseldenis 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

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone May 9, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request May 9, 2023
11 tasks
Copy link

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16.0.

Please regenerate the template file

Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luisg123v FYI the pot file is regenerated at merge and usually is not required to be changed on PR's

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rousseldenis thanks for pointing it out. I was aware .po files were regenerated, but I didn't know about .pot files also were, I though .po were regenerated from the provided .pot.

Then this LGTM.

Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .pot is regenerated at merge (of any kind) as if some code has been modified, pot file should be synced with current code. po files are only modified by weblate modifications (several timea per day).

@luisg123v
Copy link

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Sorry @luisg123v you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@luisg123v
Copy link

@rousseldenis,

It seems I can't merge here. Could you help me running the merge command, please?

Regards,

@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). 🤖

@rousseldenis
Copy link
Sponsor Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-275-by-rousseldenis-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request May 10, 2023
Signed-off-by rousseldenis
@rousseldenis
Copy link
Sponsor Contributor

@rousseldenis,

It seems I can't merge here. Could you help me running the merge command, please?

Regards,

Indeed, as you have to be already a maintainer of the module to have merge rights.

@slitheryduke11 slitheryduke11 force-pushed the 16.0-mig-stock_quantity_history_location branch from 4b42306 to 81275f1 Compare May 10, 2023 20:09
@OCA-git-bot
Copy link
Contributor

@rousseldenis your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-275-by-rousseldenis-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@slitheryduke11
Copy link
Contributor Author

Hi, @rousseldenis. I've updated the maintainers list to give it a line-by-line format.

@rousseldenis
Copy link
Sponsor Contributor

Hi, @rousseldenis. I've updated the maintainers list to give it a line-by-line format.

😅 maybe unnecessary if pre-commit does not warn

@luisg123v
Copy link

@rousseldenis could you re-run the merge command, please?

@moylop260
Copy link

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-275-by-moylop260-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit d3b0e49 into OCA:16.0 May 15, 2023
6 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at c13047c. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet