Skip to content

[19.0][MIG] vendor_transport_lead_time#3085

Open
theangryangel wants to merge 15 commits into
OCA:19.0from
GlodoUK:19.0-mig-vendor_transport_lead_time
Open

[19.0][MIG] vendor_transport_lead_time#3085
theangryangel wants to merge 15 commits into
OCA:19.0from
GlodoUK:19.0-mig-vendor_transport_lead_time

Conversation

@theangryangel
Copy link
Copy Markdown
Member

@theangryangel theangryangel commented Jun 2, 2026

Standardish migration.

  • Usual 18.0 -> 19.0 Uom changes
  • Switch _setup_fields to _post_model_setup__ super
  • Test tweak to allow tests to run (product_tmpl_id)

mmequignon and others added 14 commits June 2, 2026 15:44
… 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/
@OCA-git-bot OCA-git-bot added series:19.0 mod:vendor_transport_lead_time Module vendor_transport_lead_time labels Jun 2, 2026
@theangryangel theangryangel force-pushed the 19.0-mig-vendor_transport_lead_time branch 3 times, most recently from 407de93 to 85531c6 Compare June 2, 2026 15:42
@theangryangel theangryangel force-pushed the 19.0-mig-vendor_transport_lead_time branch from 85531c6 to 6f3966b Compare June 2, 2026 15:47
@theangryangel theangryangel marked this pull request as ready for review June 2, 2026 15:51
@theangryangel theangryangel mentioned this pull request Jun 2, 2026
78 tasks
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.supplier = cls.env["res.partner"].create({"name": "supplier test"})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cls.supplier = cls.env["res.partner"].create({"name": "supplier test"})

Comment on lines +21 to +23
(
0,
0,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(
0,
0,
Command.create(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:vendor_transport_lead_time Module vendor_transport_lead_time series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.