-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
[15.0][MIG] account_invoice_base_invoicing_mode (renamed) #1243
Conversation
Add three modules helping on automatically invoicing customers. The base module `account_invoice_base_invoicing_mode` does not actually do anything but adds a selection field on partner to allow assigning an invoicing mode to a customer. And a checkbox to choose regrouping invoices. The two other modules add specific invoicing mode. The module `account_invoice_mode_monthly` creates monthly invoices for customer on a specific day (configuration is in Accounting Settings) The module `account_invoice_mode_at_shipping` creates invoices on the shipping of the goods. Those modules use queue_job to generate and validate invoices.
Add few changes from reviews. Use sudo to post the invoice.
Split invoice creation on invoice partner settings that decides if sales order atre being grouped in invoice or not. The previous implementation would crash.
…one_invoice_per_order' to res.partner's _commercial_fields()
6e04ef3
to
eb95d9d
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.
LG, in the context of renaming should we suggest a migration step to handle XML updates?
eb95d9d
to
0bb9a23
Compare
I just added the migration script for the module rename |
0bb9a23
to
68c66cd
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.
I don't think that the renaming works in the migration of module itself. The renaming has to be done here: https://github.com/OCA/OpenUpgrade/blob/15.0/openupgrade_scripts/apriori.py#L6
Ok, I based that on existing commit in other repos. Do you mean I have to open a PR on openupgrade ? |
Yes please! In that PR, please link to this PR so that we can merge in tandem. |
@TDu please remove that migration bit in this PR, then we can go ahead with it. |
/ocabot migration account_invoice_base_invoicing_mode |
68c66cd
to
7e64d17
Compare
I removed the migration script |
@pedrobaeza this PR is ready to be merge :) Thanks |
Merging blindly due to the reviews: /ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 3b61454. Thanks a lot for contributing to OCA. ❤️ |
Renamed to
partner_invoicing_mode
.