Skip to content
Browse files

[FIX] point_of_sale: picking on move line

- Activate Lots and S/N
- Track a product A by unique S/N
- Receive one unit of A
- Sell the unit of A through the POS
- Go to Invnetory > Products > Lots/Serial Numbers, and open the
  Upstream Traceability report

The line corresponding to the outgoing move line is not linked to the
corresponding picking.

The field `picking_id` is empty on the `stock.move.line`, so the link is
not directly retrieved.

Related to #31879 which fixes the issue for existing `stock.move.line`.

closes #31880

Signed-off-by: Nicolas Martinelli (nim) <>
  • Loading branch information...
nim-odoo committed Mar 15, 2019
1 parent e7c9235 commit a03bd36ec82c32f36d26714e1040418d9113b523
Showing with 1 addition and 0 deletions.
  1. +1 −0 addons/point_of_sale/models/
@@ -855,6 +855,7 @@ def set_pack_operation_lot(self, picking=None):
for pack_lot in pack_lots:
lot_id, qty = pack_lot['lot_id'], pack_lot['qty']

0 comments on commit a03bd36

Please sign in to comment.
You can’t perform that action at this time.