[14.0]stock_barcodes: Picking out operation bug
davidepiu14 opened this issue · 3 comments
davidepiu14 commented
stock_barcodes
Description
Creating a new stock.operation operation from the button "New" it's nearly impossible to read the product with the barcode scanner. Randomly the product barcode is recognized and in the logs I see this error:
UPDATE "wiz_stock_barcodes_read_picking" SET "write_uid"=2,"write_date"=(now() at time zone 'UTC') WHERE id IN (130) ERROR: could not serialize access due to concurrent update
To Reproduce
14.0:
Steps to reproduce the behavior:
- Create a new picking OUT stock.operation clicking on the button "New" ("Nuovo")
- Scan the product barcode once inside the wizard
- Nothing happens, if you continue to scanner (after like 40/50 scans the product is recognized)
- This error appears in logs:
bad query: UPDATE "wiz_stock_barcodes_read_picking" SET "write_uid"=2,"write_date"=(now() at time zone 'UTC') WHERE id IN (130) ERROR: could not serialize access due to concurrent update
In the "picking out option" I had selected the product barcode scan as a first move.
Expected behavior
- Create a new picking OUT operation clicking on the button "New"
- Start scanner products
- Product is added to the stock.operation