-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[MIG][17.0] sale_automatic_workflow_payment_mode: Migration to 17.0 #2892
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
base: 17.0
Are you sure you want to change the base?
[MIG][17.0] sale_automatic_workflow_payment_mode: Migration to 17.0 #2892
Conversation
|
/ocabot migration sale_automatic_workflow_payment_mode @john-herholz-dt Thanks for this. Don't forget to add dependency PR in this PR's description to help reviewers. |
|
@john-herholz-dt Could you rebase ? |
693b7f0 to
3e80632
Compare
0b33e83 to
d31eed7
Compare
|
@rousseldenis I did a rebase. The check failure does not seem to be related to this PR. |
|
@rousseldenis last time I said "check failure has nothing to do with this PR". I checked again and sure the failure is one of the tests here. Any suggestion how to solve the test? |
|
@john-herholz-dt The error is related to this PR. See : https://github.com/OCA/sale-workflow/actions/runs/10438425127/job/28905725687?pr=2892#step:8:380 The 'done' state has been removed from Odoo core. The equivalent is |
|
Hello @rousseldenis , Sorry I should have given more context: It is the stock.picking record which seems to not be validated on the test_full_automatic workflow. I checked it manually with the runbot and the picking was done. |
|
Oops mixed models. Maybe a module of this repo changed the behavior |
896bce7 to
90ec8e2
Compare
|
@rousseldenis I was working again on it and tests are passing. |
sale_automatic_workflow_payment_mode/tests/test_automatic_workflow_payment_mode.py
Outdated
Show resolved
Hide resolved
|
@john-herholz-dt Could you move migration changes in migration commit (and not in pre-commit one)? 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
...payment when no fixed journal and remove sale_workflow_process
* Fix tests errors
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/es/
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/pt_BR/
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/it/
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/it/
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/it/
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/it/
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_automatic_workflow_payment_mode Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_automatic_workflow_payment_mode/hr/
90ec8e2 to
83c1867
Compare
|
@rousseldenis Is it better now? If so, can you help me a bit please: What am I missing here, that I keep the error in the pre-commit step? |
That's because you forgot |
|
I get the error two lines above in the documentation at: pre-commit run -a but anyway, the PR should be fine now, isn't it? |
|
This PR has the |
|
|
||
| def setUp(self): | ||
| super(TestAutomaticWorkflowPaymentMode, self).setUp() | ||
| super().setUp() |
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.
@john-herholz-dt Could you put that change in migration commit too ? Thanks
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
Hi @john-herholz-dt , any chance to rebase ? |

Simple migration, no changes.