Ghonz
November 14, 2024, 11:50pm
1
i noticed that when purchase order qty in decimals only the reception card remove the item except the one with qty 1.00 or more
if the qty less than 1 like 0.75 the reception card not include this item, this issue comes with ver 20.0.1
to be sure made fresh install for ver 20.0.2 and found the same issue
Please search for a similar post here Issues · Dolibarr/dolibarr · GitHub
If you find one (or more) please add to them, pictures would be nice.
If none is found, then please post the issue inclusive pictures
Ghonz
November 15, 2024, 3:23pm
3
Hello
i posted detailed report
opened 03:12PM - 15 Nov 24 UTC
Bug
### Bug
purchase order reception ignore qty if it in decimal only, i tested t… his error in fresh installation for version 20.0.1 and 20.0.2 and found both version have the same error which not exist in version 19* which work prefect
i attached 5 screen shots for the order qty and receiving screen one by one, you will find that the product 3 with qty 0.444 disappeared in final reception screen
### Dolibarr Version
20.0.2
### Environment PHP
PHP 8.1.2-1ubuntu2.19
### Environment Database
mariadb Ver 15.1 Distrib 10.6.18-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
### Steps to reproduce the behavior and expected behavior
1- create purchase order with item qty in only decimal like 0.700
2- complete the reception steps
3- you will find empty reception to validate in the end of reception process
### Attached files
<img width="1173" alt="Order qty" src="https://github.com/user-attachments/assets/2708284c-6ca2-412d-b570-a4c1b03a7963">
<img width="1173" alt="create reception screen 1" src="https://github.com/user-attachments/assets/96bcacf0-e1d2-4cec-b5ed-65c75e8f8c63">
<img width="1173" alt="create reception screen 2" src="https://github.com/user-attachments/assets/f1c0aacb-ddf5-4529-b895-bb1bd38ef823">
<img width="1173" alt="validate reception" src="https://github.com/user-attachments/assets/286052e3-1f29-4532-99ef-693922acec02">
<img width="1173" alt="Reception Validated" src="https://github.com/user-attachments/assets/bcbdd4e1-5dfe-4f8d-82dc-68140c52015e">
ksar
November 15, 2024, 9:33pm
4
Hello,
Thanks to the today “bugfix contest” during the Dolibarr devcamp, you already have a FIX : fix: issue #31880 by benoitpascal · Pull Request #31919 · Dolibarr/dolibarr · GitHub
Ghonz
November 15, 2024, 10:00pm
5
Hello
i am not sure where is the fix exactly i am lost there
ksar
November 16, 2024, 9:08am
6
1 Like
Ghonz
November 16, 2024, 11:02am
7
it’s working many thanks, great job