Dolibarr ERP & CRM » Bugs » bug #1314 [Bank] num_releve is not incremented correctly in releve.phpÉtat Détails |
Submitted by: | damien clochard (daamien) | | Submitted on: | 26/03/2014 15:58 |
Last Modified On: | 26/03/2014 15:58 | |
Summary: | [Bank] num_releve is not incremented correctly in releve.php |
Description: |
If you use a basic scheme for naming your "relevés" such as 1,2,3,..,9,10,11, etc. The "relevés" are not following each other correctly
For instance, the two pages below :
https://..../compta/bank/releve.php?account=4&num=9
https://..../compta/bank/releve.php?account=4&num=10
are not related to each other
Instead dolibarr seems to increment using the "alphabetic" order : 1,10,11,12,2,3,4,5,6,7,8,9
This is really confusing. The order I would expect is 1,2,3,4,5,6,7,8,9,10,11,12
The workaround is to add zeros and give a standard size to each num_releve such as : 001,002,...,009,010,011
But that's kind of ugly and you need to update all the rows of llx_bank to fix this afterward.
|
Step to reproduce bug: |
|
Detected in version: | 3.4.2 | | Category: | Module: Banks and Cash |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | postgresql |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Répondre
|
|