-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
[14.0][ADD] Add stock_split_picking_kit #1829
base: 14.0
Are you sure you want to change the base?
Conversation
f93ff2d
to
988cd51
Compare
new_move_vals = [] | ||
for move in moves: | ||
new_move_vals += move._split( | ||
move.bom_line_id.product_qty * kit_to_split |
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.
If you look at the bom_line_id.product_qty, why going through the complex _compute_kit_quantities
?
kit_quantity = move.product_qty / move.bom_line_id.product_qty
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.
Because it makes sure that the computed kits are complete.
3489641
to
248a32e
Compare
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.
LG :)
Can you squash fixups?
8124c8c
to
a2d3208
Compare
Done |
No description provided.