Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TakePOS (Barcode rule to insert product) is not working #30203

Open
ems-co opened this issue Jun 30, 2024 · 2 comments
Open

TakePOS (Barcode rule to insert product) is not working #30203

ems-co opened this issue Jun 30, 2024 · 2 comments
Assignees
Labels
Bug This is a bug (something does not work as expected) Event: Devcamp 2024 Nancy

Comments

@ems-co
Copy link
Contributor

ems-co commented Jun 30, 2024

Bug

i have a product which i want to extract the amount from the generated barcode, for example a product from a weighing scale, the scale is generating barcodes and the weight of the product embedded e.g 2112345000001 , the zeros are used for the weight, i have enabled Barcode rule to insert product (ref:7+qu:2+qd:3+other:1) but when i scan the item with the barcode e.g 2112345012401 , the part 2112345 is finding the product reference but the quantity and decimal quantity is not added to the POS product lines.

Dolibarr Version

19.0.2

Environment PHP

8.2

Environment Database

Mysql

Steps to reproduce the behavior and expected behavior

-Create a product with reference e.g 2112345
-Enable POS module and activate barcode rule to insert products (ref:7+qu:2+qd:3+other:1)
-Write an example barcode e.g 2112345012401 which is a product of quantity 1.240
-it wont be added to the POS line items

Attached files

No response

@ems-co ems-co added the Bug This is a bug (something does not work as expected) label Jun 30, 2024
@lvessiller-opendsi
Copy link
Contributor

@ems-co
I will check it and see how to fix it.

@lvessiller-opendsi lvessiller-opendsi self-assigned this Jul 25, 2024
This was referenced Nov 15, 2024
@lvessiller-opendsi
Copy link
Contributor

Fix in PR #31857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected) Event: Devcamp 2024 Nancy
Projects
None yet
Development

No branches or pull requests

3 participants