-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[9.0] Migration : sale_order_lot_selection #319
[9.0] Migration : sale_order_lot_selection #319
Conversation
[FIX] Fix product_id on test [FIX] Fix product on test
[FIX] Use product_14 instead of product_11 [FIX] Add test's flow step
[FIX] change data in quant search [FIX] Fixed tab [FIX] Add check on lots list FIX product_id_change_with_wh
Because quants_get_prefered_domain does not return quants with our lots, if other quants are available
…roup_production_lot res.groups
Steps to reproduce: 1.- Create a new Sale Order with 2 or more lines of products 2.- Assign lot to every line (ensure lot has stock available) 3.- Confirm the Sale Order 4.- Go to the Delivery Order Result: Only the first line in the Delivery Order is in state "Available" and reserved, the rest of the lines are in state "Waiting Availability" and not reserved
Thank you @florian-dacosta |
@florian-dacosta tested the following use case:
You can confirm the second sale order Expected behaviour: Side effect: after having confirmed the sale order, in order to process the related picking, you have to manually add quantities to lot 123 Expected behaviour: Thanks |
@eLBati About your tests : For instance, in v9, when the restict_lot_id is filled, Odoo will try to reserve the stock move with a quant of the same lot, and if it does not find any, it will try with a quant without lot. So the module works the way you want if products don't have any stock without lot. Regarding the need to validate, just clicking on validate. It is a problem too as Odoo expects the user to indicate how many product he wants to transfer. If product should have lot and the quantity 'done quantity' is 0, it raise an error For now, the only way I see, to solve this issue, would be to automatically put the qty_done of operations from the reserved quantities when it is created. But it would not impact only the sale orders for which we put a lot, it would impact all stock moves with a restrict_lot_id, and I am not sure it is a good idea. But it could be a nice feature to have, set the done qty by default, and the user would have to decrease it if needed, instead on increasing it., but I think it would be better in a separated module, as it is not linked to the sale_order_lot_selection main features. And customers could use this feature without using sale_order_lot_selection. What do you think? |
@florian-dacosta thanks, ok, then, LGTM 👍 |
👍, thank. |
@eLBati