- Aug 13, 2023
-
-
Odoo Translation Bot authored
-
- Jul 30, 2023
-
-
Odoo Translation Bot authored
-
- Jul 16, 2023
-
-
Odoo Translation Bot authored
-
- Jul 09, 2023
-
-
Odoo Translation Bot authored
-
- Jun 28, 2023
-
-
Loan (LSE) authored
Before this commit: If the barcode nomenclature uses the or `|` symbol. The part after it would be used as a "contains" instead of a "start with". e.g: `123|456` would be transformed in the JS code to `^123|456` instead of: `^123|^456` As such, you would have error "can't find product with barcode" if you set such a rule and a product barcode contains the second part. For e.g: the barcode `44445666` would match, but should not! After this commit: Force the second (and following if any) part to start with. Note: in practice it is pretty rare to have `|` in the pattern, but it is the case for a default rule in version 16, see: https://github.com/odoo/odoo/blob/5ac58ebf983c1c02019253c0430fde3502e13e7c/addons/pos_loyalty/data/default_barcode_patterns.xml#L10 In this case, if a regular product have `044` in its product barcode, the PoS will tell that there is no corresponding coupon instead of adding the product. But the issue itself still apply in version 14 in case of custom rules opw-3356951 closes odoo/odoo#125390 Signed-off-by:
Joseph Caburnay (jcb) <jcb@odoo.com>
-
- Jun 18, 2023
-
-
Odoo Translation Bot authored
-
- Jun 04, 2023
-
-
Odoo Translation Bot authored
-
- Apr 30, 2023
-
-
Odoo Translation Bot authored
-
- Apr 23, 2023
-
-
Odoo Translation Bot authored
-
- Apr 16, 2023
-
-
Odoo Translation Bot authored
-
- Apr 09, 2023
-
-
Odoo Translation Bot authored
-
- Mar 26, 2023
-
-
Odoo Translation Bot authored
-
- Mar 19, 2023
-
-
Odoo Translation Bot authored
-
- Mar 12, 2023
-
-
Odoo Translation Bot authored
-
- Mar 05, 2023
-
-
Odoo Translation Bot authored
-
- Feb 26, 2023
-
-
Odoo Translation Bot authored
-
- Feb 13, 2023
-
-
Odoo Translation Bot authored
-
- Feb 05, 2023
-
-
Odoo Translation Bot authored
-
- Jan 22, 2023
-
-
Odoo Translation Bot authored
-
- Jan 15, 2023
-
-
Odoo Translation Bot authored
-
- Dec 11, 2022
-
-
Odoo Translation Bot authored
-
- Nov 06, 2022
-
-
Odoo Translation Bot authored
-
- Oct 04, 2022
-
-
Adrien Widart authored
**(adapted) backport of 4c9c848f** To reproduce the issue: (Need stock_barcode) 1. Create a product: - Barcode: 1234567890123 2. Print the label 3. Try to scan the barcode and check the value read. Error: The value is 1234567890128, the last digit is incorrect (8 instead of 3) When printing a barcode, we use the library 'report-lab' to generate a barcode image from a value and a barcode type. In case of EAN-13, if the value contains a non-digit character, it will raise an error. We then catch the error and retry to generate the barcode according to the barcode type Code128: https://github.com/odoo/odoo/blob/87698d90f02bfe93c6e643f4876a5ccd74788eff/odoo/addons/base/models/ir_actions_report.py#L569-L575 However, if the value contains only digits, the method will use the 12 first digits: https://github.com/mattjmorrison/ReportLab/blob/dade0f303cb6fcdbe535c4cc92e6102c2417b699/src/reportlab/graphics/barcode/eanbc.py#L187-L188 and will then add the last one, the check digit, which is computed by the library. This explains why, in the above use case, the barcode value returned by the scanner is not the same than the expected one. Note: Similar behavior with type EAN-8 OPW-2980717 closes odoo/odoo#100231 Signed-off-by:
Steve Van Essche <svs@odoo.com>
-
- Sep 27, 2022
-
-
Philippe Wauthy authored
The default value of max_time_between_keys_in_ms in barcode is 55 ms. The default value of 55 ms is too low and creates an issue for RFID readers. The default value of max_time_between_keys_in_ms is increased to 100 ms. task-2996072 closes odoo/odoo#101233 X-original-commit: df4f5a81 Signed-off-by:
Kevin Baptiste <kba@odoo.com> Signed-off-by:
phwa-odoo <phwa@odoo.com>
-
- Jul 24, 2022
-
-
Odoo Translation Bot authored
-
- Jul 10, 2022
-
-
Odoo Translation Bot authored
-
- May 29, 2022
-
-
Odoo Translation Bot authored
-
- May 22, 2022
-
-
Odoo Translation Bot authored
-
- May 01, 2022
-
-
Odoo Translation Bot authored
-
- Apr 03, 2022
-
-
Odoo Translation Bot authored
-
- Mar 13, 2022
-
-
Odoo Translation Bot authored
-
- Mar 06, 2022
-
-
Odoo Translation Bot authored
-
- Feb 27, 2022
-
-
Odoo Translation Bot authored
-
- Feb 15, 2022
-
-
Odoo Translation Bot authored
-
- Dec 19, 2021
-
-
Odoo Translation Bot authored
-
- Dec 12, 2021
-
-
Odoo Translation Bot authored
-
- Oct 31, 2021
-
-
Odoo Translation Bot authored
-
- Oct 24, 2021
-
-
Odoo Translation Bot authored
-
- Oct 17, 2021
-
-
Odoo Translation Bot authored
-
- Oct 03, 2021
-
-
Odoo Translation Bot authored
-