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

[18.0][MIG] sale_force_invoiced #3398

Merged
merged 66 commits into from
Dec 2, 2024

Conversation

odooexperts-visioncode
Copy link

No description provided.

JordiBForgeFlow and others added 30 commits November 11, 2024 16:14
* [ADD] module 'sale_force_invoiced' for 9.0

* [FIX] Travis
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_force_invoiced/
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_force_invoiced/de/
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_force_invoiced/zh_CN/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_force_invoiced/
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_force_invoiced/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_force_invoiced/
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_force_invoiced/ca/
Sometimes you have a SO that Odoo computes as "Nothing to invoice"
but you want to force it to "Fully invoiced" anyway.

Example: SO with 2 lines, line one is delivered and invoiced,
second line is never going to be delivered nor invoiced (
because of different bussiness reasons). In this situation you
still want to mark the SO as fully invoiced.
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_force_invoiced/fr/
@rousseldenis
Copy link
Contributor

/ocabot migration sale_force_invoiced

@@ -4,7 +4,7 @@
{
"name": "Sale Force Invoiced",
"summary": "Allows to force the invoice status of the sales order to Invoiced",
"version": "17.0.1.1.1",
"version": "18.0.1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

this change should be in migration commit

@rousseldenis
Copy link
Contributor

@odooexperts-visioncode Ok, I think you misunderstood what I wanted to say.

You should follow this :
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0#technical-method-to-migrate-a-module-from-170-to-180-branch

The important part on the line with pre-commit stuff is the --no-verify option. Unless it will fail and ask you to change the version number. Pre-commit changes should stay in separate commit.

Then, you update the module version (and other changes maybe) and then you put them in the migration commit.

@odooexperts-visioncode
Copy link
Author

@rousseldenis Currently, there are not any changes in the pre-commit run, only pylint Failure for the version.

image

As there are not any change in the pre-commit, I might commit with --allow-empty

So, should I push an empty commit initially or the Direct Migration commit will be okay?

@rousseldenis
Copy link
Contributor

@rousseldenis Currently, there are not any changes in the pre-commit run, only pylint Failure for the version.

image

As there are not any change in the pre-commit, I might commit with --allow-empty

So, should I push an empty commit initially or the Direct Migration commit will be okay?

As I said, follow the procedure after running pre-commit run -a, do git commit -m "[IMP] $module: pre-commit auto fixes" --no-verify

image

@rousseldenis
Copy link
Contributor

As there are not any change in the pre-commit, I might commit with --allow-empty

Ooooh, ok. So, it's ok as is

@odooexperts-visioncode
Copy link
Author

odooexperts-visioncode commented Nov 14, 2024

@rousseldenis So, do I push 2 commits (1 empty and 1 migration) or just a single migration commit is okay?

Copy link

@sheragar sheragar left a comment

Choose a reason for hiding this comment

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

LGTM. Funtional Review 👍

Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

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

Thanks!

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-3398-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5c7b64b into OCA:18.0 Dec 2, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@ploegvde

This comment was marked as off-topic.

@pedrobaeza

This comment was marked as off-topic.

@ploegvde

This comment was marked as off-topic.

@pedrobaeza

This comment was marked as off-topic.

@ploegvde

This comment was marked as off-topic.

@ploegvde

This comment was marked as off-topic.

@pedrobaeza

This comment was marked as off-topic.

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.