[18.0][IMP] sale_purchase_force_vendor: propagate the vendor on stock rules#2575
Open
marielejeune wants to merge 1 commit intoOCA:18.0from
Open
[18.0][IMP] sale_purchase_force_vendor: propagate the vendor on stock rules#2575marielejeune wants to merge 1 commit intoOCA:18.0from
marielejeune wants to merge 1 commit intoOCA:18.0from
Conversation
| class StockMove(models.Model): | ||
| _inherit = "stock.move" | ||
|
|
||
| propagated_sale_line_id = fields.Many2one( |
Contributor
There was a problem hiding this comment.
@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
fee4373 to
40e0ce5
Compare
Contributor
|
@marielejeune Could you rebase ? |
40e0ce5 to
3a9217b
Compare
Contributor
|
@marielejeune Could you update as OCA/sale-workflow#3590 is merged ? |
3a9217b to
9cf0b28
Compare
Author
|
@rousseldenis done |
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.
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