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

Open
wants to merge 65 commits into
base: 18.0
Choose a base branch
from

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/
mymage and others added 17 commits November 11, 2024 16:14
Currently translated at 100.0% (3 of 3 strings)

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

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

Translation: sale-workflow-17.0/sale-workflow-17.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_force_invoiced/ca/
…s to the force invoiced action on sale order"
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

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

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

Translation: sale-workflow-17.0/sale-workflow-17.0-sale_force_invoiced
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_force_invoiced/it/
@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?

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.