dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1314] [Bank] num_releve is not incremented cor


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1314] [Bank] num_releve is not incremented correctly in releve.php
Date: Wed, 26 Mar 2014 15:58:19 +0100

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]