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

[15.0][MIG] account_invoice_base_invoicing_mode (renamed) #1243

Merged
merged 13 commits into from
Apr 18, 2023

Conversation

TDu
Copy link
Member

@TDu TDu commented Sep 26, 2022

Renamed to partner_invoicing_mode.

TDu and others added 12 commits September 27, 2022 13:49
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()
@TDu TDu force-pushed the 15-mig-base-invoicing-mode branch 2 times, most recently from 6e04ef3 to eb95d9d Compare September 27, 2022 13:48
Copy link
Member

@i-vyshnevska i-vyshnevska left a 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?

@TDu
Copy link
Member Author

TDu commented Sep 30, 2022

I just added the migration script for the module rename

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.

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

@TDu
Copy link
Member Author

TDu commented Oct 17, 2022

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 ?

@StefanRijnhart
Copy link
Member

Yes please! In that PR, please link to this PR so that we can merge in tandem.

@StefanRijnhart
Copy link
Member

@TDu please remove that migration bit in this PR, then we can go ahead with it.

@rafaelbn
Copy link
Member

rafaelbn commented Dec 9, 2022

/ocabot migration account_invoice_base_invoicing_mode

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Dec 9, 2022
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 9, 2022
56 tasks
@OCA-git-bot
Copy link
Contributor

The migration issue (#1022) has been updated to reference the current pull request.
however, a previous pull request was referenced : #1061.
Perhaps you should check that there is no duplicate work.
CC : @rven

@TDu TDu force-pushed the 15-mig-base-invoicing-mode branch from 68c66cd to 7e64d17 Compare December 12, 2022 08:37
@TDu
Copy link
Member Author

TDu commented Dec 12, 2022

I removed the migration script

@rafaelbn
Copy link
Member

@simahawk ? you merged it in v13 😄 #755

@houssine78
Copy link

@pedrobaeza this PR is ready to be merge :) Thanks

@pedrobaeza
Copy link
Member

Merging blindly due to the reviews:

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 15.0-ocabot-merge-pr-1243-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit d083a99 into OCA:15.0 Apr 18, 2023
@OCA-git-bot
Copy link
Contributor

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

odooNextev pushed a commit to odooNextev/account-invoicing that referenced this pull request Sep 29, 2023
Signed-off-by AaronHForgeFlow
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.