[19.0][MIG] vendor_transport_lead_time#3085
Open
theangryangel wants to merge 15 commits into
Open
Conversation
… write * move the constraint in a @api.constrains method * able to create a seller (with 'create' method) without filling the 'delay' field * if we set 'delay' when calling 'create', it takes precedence over other delay fields (inverse method is called) * To make thing working, 'delay' should not be required anymore * Do not override the 'delay' user's label
When coming from an onchange, the 'order_id.date_order' could be False
Currently translated at 100.0% (13 of 13 strings) Translation: purchase-workflow-18.0/purchase-workflow-18.0-vendor_transport_lead_time Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-vendor_transport_lead_time/it/
407de93 to
85531c6
Compare
85531c6 to
6f3966b
Compare
BhaveshHeliconia
suggested changes
Jun 3, 2026
| @classmethod | ||
| def setUpClass(cls): | ||
| super().setUpClass() | ||
| cls.supplier = cls.env["res.partner"].create({"name": "supplier test"}) |
Contributor
There was a problem hiding this comment.
Suggested change
| cls.supplier = cls.env["res.partner"].create({"name": "supplier test"}) |
Comment on lines
+21
to
+23
| ( | ||
| 0, | ||
| 0, |
Contributor
There was a problem hiding this comment.
Suggested change
| ( | |
| 0, | |
| 0, | |
| Command.create( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardish migration.
_setup_fieldsto_post_model_setup__super