-
- Downloads
[FIX] stock: don't require lot_id on reporting/location
To Reproduce ============= - enable multi step routes - edit Receipts operation and uncheck the two options under Traceability - create storable product with Traceability using lot/serial number - make purchase of this product and receive it in your inventory - under inventory/reports/Locations click on line of this product you will be stuck at that page even if you click discard Problem ======= There is an inconsistency between the view and backend, as we allow receiving traceable product without setting `lot_id`, but in view require `lot_id` if tracking is enabled on product. Solution ======== following this [comment](https://github.com/odoo/odoo/blob/16.0/addons/stock/models/stock_move_line.py#L558-L560 ), `lot_id` shouldn't be required on view. opw-3422259 closes odoo/odoo#129322 Signed-off-by:Arnold Moyaux (arm) <arm@odoo.com>
Please register or sign in to comment