Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -873,10 +873,12 @@ def scan_product(self, barcode, location_id=None, package_id=None):
.search([("location_id", "=", location.id or package.location_id.id)])
.product_id
)
# TODO: Find a better way to manager multi valued barcodes
# in order to find in a single call all records (product, lot, ....)
handlers_by_type = {
"lot": self._scan_product__scan_lot,
"product": self._scan_product__scan_product,
"packaging": self._scan_product__scan_packaging,
"lot": self._scan_product__scan_lot,
}
try:
search = self._actions_for("search").for_products(products)
Expand Down
Loading