Dolibarr/dolibarr — pull request #1371 by atm-alexis (2014-01-09 16:02:17+00:00)
Title: Correction for get_next_value function

In january with a reset everymonth option activated, the sql for next number was wrong and always return the same reference