Skip to content

Conversation

jbaudoux
Copy link
Contributor

@jbaudoux jbaudoux commented Jun 13, 2025

Set default supplier on product "Replenish" wizard.

When an orderpoint exists, odoo doesn't set the default supplier in the "Replenish" wizard if not set on the orderpoint. But it is not required to set a supplier on an orderpoint (the field is even hidden by default), it will default to the main product supplier.

Also ensure the supplier is right for the variant.

Relates to https://github.com/odoo/odoo/blob/18.0/addons/purchase_stock/wizard/product_replenish.py#L12

Note: odoo just changed code last week odoo/odoo@6c7d986, now the orderpoint should have a route to have a default supplier. But the route is not set by default on an orderpoint. So this module is still relevant.
Related last odoo PR odoo/odoo#210336

@jbaudoux jbaudoux force-pushed the 18-add-product-replenish-default-supplier branch from 3fb0a5d to 1d5dd8c Compare June 13, 2025 09:07
Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant