-
-
Notifications
You must be signed in to change notification settings - Fork 815
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
[18.0][IMP] sale_purchase_force_vendor: propagate the vendor on stock rules #2575
base: 18.0
Are you sure you want to change the base?
[18.0][IMP] sale_purchase_force_vendor: propagate the vendor on stock rules #2575
Conversation
|
||
|
||
class StockMove(models.Model): | ||
_inherit = "stock.move" | ||
|
||
propagated_sale_line_id = fields.Many2one( |
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.
@marielejeune For that part, you need to use (and migrate) this : https://github.com/OCA/sale-workflow/tree/14.0/sale_order_line_chained_move
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.
@rousseldenis Done
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-14.0/purchase-workflow-14.0-sale_purchase_force_vendor Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-sale_purchase_force_vendor/
…time so that it is always displayed and apply the correct domain in both use cases TT39679
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-14.0/purchase-workflow-14.0-sale_purchase_force_vendor Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-sale_purchase_force_vendor/
…ore than one step delivery routes
Currently translated at 100.0% (11 of 11 strings) Translation: purchase-workflow-15.0/purchase-workflow-15.0-sale_purchase_force_vendor Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-sale_purchase_force_vendor/es/
…can not confirm sale orders
… product.supplierinfo record TT46573
fee4373
to
40e0ce5
Compare
Up to now the addon is designed to work only with the default MTO + buy routes.
This PR aims at propagating the forced vendor (on the SOL) through stock rules to be able to use more complex MTO-like routes.
See issue #2574 for more details about the target.
Feel free to review/comment. I'm open to discussions as I'm not a stock expert.
Depends on #2523 and on OCA/sale-workflow#3590