diff options
| author | Joseph Caburnay <jcb@odoo.com> | 2021-05-25 09:26:16 +0000 |
|---|---|---|
| committer | Joseph Caburnay <jcb@odoo.com> | 2021-05-25 09:44:54 +0000 |
| commit | ff58fb0fb588092f1d02500cd000d20a3f8b67b7 (patch) | |
| tree | 2661bcd9dba584f1b985807f7c29888ceac247e9 /addons/website_google_map | |
| parent | 02d9b51e43904420afe31e1f65ea455e3ed2c8ea (diff) | |
[FIX] point_of_sale: show pack lot input popup when scanning product
When scanned product is tracked by lot or SN, the popup that asks
for lot should be shown, just like as when a tracked product is clicked
from the product list.
We accomplish this by introducing a new method that can be used both
by `_clickProduct` and `_barcodeProductAction`, and by making the
`_barcodeProductAction` be independent from `scan_product` method
from `PosModel`. So instead of calling directly `scan_product`, we
indentify the product first based on the barcode, then we call the
newly introduced method to ask for the lot inputs, then we call
`add_product` with proper options including the type of the parsed
barcode.
closes odoo/odoo#71209
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/website_google_map')
0 files changed, 0 insertions, 0 deletions
