-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] sale_automatic_workflow_payment_mode #2005
[15.0][MIG] sale_automatic_workflow_payment_mode #2005
Conversation
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.
LGTM
6699533
to
051aff1
Compare
@jacekmichalski thanks for your review. I just uploaded changes because there were errors in the tests. I encourage you to review the PR list above to fully migrate connector_prestashop |
051aff1
to
6bd541f
Compare
This PR has the |
In order to finish migrating the Prestashop connector I need this PR to be merged. It has two approvals. Any PSC check it out? /cc @HaraldPanten @rafaelbn |
Thank @flachica ! Could you please take care on this #1795 , maybe you should take it for this PR too 😄 @leemannd @hailangvn @gurneyalex is this PR of you interest? Thank you again! |
/ocabot migration sale_automatic_workflow_payment_mode |
6bd541f
to
50374ab
Compare
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-2005-by-dreispt-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. |
@flachica could you please rebase to make runboat launch again? Thanks! |
[ADD] sale_automatic_workflow_payment_mode
Currently translated at 90.0% (9 of 10 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_automatic_workflow_payment_mode/es/
Use Queue Jobs to process the Sales Automatic Workflow actions. The default behavior of the automatic workflow module is to use a scheduled action that searches all the record that need a workflow action and sequentially process all of them. It can hit some limits when the number of records is too high. This module keeps the scheduled action to search the records, but instead of directly executing the actions (confirm a sales order, create invoices for a sales order, validate invoices, ...), it creates one job per operation to do. It uses an identity key on the jobs so it will not create the same job for the same record and same operation twice. ~ I needed to extract methods in `sale_automatic_workflow` in order to be able to execute them as jobs. A new decorator "job_auto_delay" (to eventually move in queue_job) makes these methods automatically delayed when called.
Currently translated at 30.0% (3 of 10 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_automatic_workflow_payment_mode/sl/
… increase coverage
Parts of `sale_automatic_workflow_payment_mode` have been merged into `sale_automatic_workflow`. But these parts have been not removed from `sale_automatic_workflow_payment_mode`. This PR clean both modules after this merge. Originals PR of the merge: OCA#1789
…ng SO's workflow if payment.mode hasn't one set It seems this feature was added during the 14.0 migration PR, here: 111bb97 But it wasn't like this before, and IMO it was ok.
- Move register_payment option from sale_automatic_workflow_payment_mode to sale_automatic_workflow. - Add _register_payments function in sale_automatic_workflow. TT31208
...payment when no fixed journal and remove sale_workflow_process
* Fix tests errors
50374ab
to
f9cb74e
Compare
Done @danielduqma |
Thanks! @dreispt could you please run merge command? Now all checks have passed and it will work. Regards |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
It looks like something changed on |
Congratulations, your PR was merged at 51bbdab. Thanks a lot for contributing to OCA. ❤️ |
Dependency below, please review
OCA/connector-prestashop#151
#2005
OCA/connector-ecommerce#70
OCA/connector#428
OCA/server-tools#2334
OCA/product-attribute#1070
OCA/product-attribute#1069