-
-
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
[16.0][MIG] sale_automatic_workflow_payment_mode #2321
[16.0][MIG] sale_automatic_workflow_payment_mode #2321
Conversation
fbafc8e
to
ae48622
Compare
@florian-dacosta sale_automatic_workflow is merged #2281. Can you rebase it? Thanks |
[ADD] sale_automatic_workflow_payment_mode
[MIG] Rename manifest files
[IMP] sale_automatic_workflow_payment_mode: Use related fields for payment_filter_domain & char_domain widget
Currently translated at 20.0% (2 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/zh_CN/
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/zh_CN/
Currently translated at 40.0% (4 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/zh_CN/
Currently translated at 100.0% (10 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/zh_CN/
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
ae48622
to
117c588
Compare
@RodrigoBM Done, thanks for the ping |
Hi @florian-dacosta ! |
Hi @asierneiradev It seems it is a incompatibility of tests between I believe Sadly, I don't have time for now to work on this subject... |
@asierneiradev here it is, I've fix the test compatibility between sale_automatic_workflow and account_payment_partner |
Approved! @sbidoul @guewen , |
This PR has the |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at abac9db. Thanks a lot for contributing to OCA. ❤️ |
Standard Migration