OCA/stock-logistics-barcode

[15.0]stock_barcodes defect for Exception - AttributeError: 'stock.picking' has no attribute 'put.in.pack'

nicolas-tg opened this issue · 6 comments

Module

The name of the module that has a bug: stock_barcodes: https://github.com/OCA/stock-logistics-barcode/tree/14.0/stock_barcodes

Describe the bug

Defect error message when we validate the Receipt Transfer after setting Done quantities from Barcode Scanner.

To Reproduce

Affected versions: 15.0, and probably earlier versions.

Steps to reproduce the behavior:

  1. Configure the Barcode Options with "Auto Put In Pack" [auto_put_in_pack] = true for Picking IN and set it for your Operation Type Receipt.
  2. Scan your Receipt using barcode scanner, to set done quantities for products
  3. Click "Validate" on the Receipt it will show the defect.

Expected behavior
If this configuration is enable from the Barcode Options, but we do not use Packs or Lots, the Users should see an error message.

Additional context
stock

Add any other context about the problem here. (e.g. OS, Python version, ...)

@pedrobaeza

Maybe related to this ? #454

Maybe... I assign my colleague which is the father of the creature.

I edited the issue request.

I edited the issue request.

@nicolas-tg Thanks, indeed, the PR pointed is solving that problem (for v14).

Thanks! Let me know if you want me to QC anything. If possible, I would like this issue to be sorted in v15.