Dolibarr ERP & CRM » Bugs » bug #1054 Customer Invoice Numbering failureLatest modifications
Answer now
Snapshot Details |
Submitted by: | Maxime Kohlhaas (atm-maxime) | | Submitted on: | 2013-09-05 10:31 |
Last Modified On: | 2013-09-11 10:51 | |
Summary: | Customer Invoice Numbering failure |
Description: | Bug reported on french forum : http://www.dolibarr.fr/forum/3-installation/44474-pb-numero-facture#44475
If you set a mask with the month var before the year and with a reset parameter, numbering will always give the same number. |
Step to reproduce bug: | Try numbering with a mask like : F{mm}{yy}{address@hidden} |
Version: | develop | | Category: | Module: Customer Invoices |
Severity: | 6 | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Open | | Assigned to: | None |
Resolution: | Wont Fix | |
Comments- Laurent Destailleur 2013-09-11 10:56
- Laurent Destailleur (eldy):
> Yes. There is no solution for this because, if month is before year, there is no way to sort ref to find the last one into a date range (required when offest is set).
As explained into tooltip help of mask, if you use reset, {yy}{mm} is required.
What we can fix is adding a check that tag is present and report an error into module setup.
- Laurent Destailleur 2013-09-11 10:51
- Yes. There is no solution for this because, if month is before year, there is no way to sort ref to find the last one into a date range (required when offest is set).
As explained into tooltip help of mask, if you use offset, {yy}{mm} is required.
What we can fix is adding a check that tag is present and report an error into module setup. |
|
> Yes. There is no solution for this because, if month is before year, there is no way to sort ref to find the last one into a date range (required when offest is set).
As explained into tooltip help of mask, if you use reset, {yy}{mm} is required.
What we can fix is adding a check that tag is present and report an error into module setup.