Hi !
Do anyone here have an understanding on how the receipt number is created on POS ?
I get it's something like Session number (5 digits)-Incremental number 1(3 digits)-Sequence number 2(4digits)
The command number printed on the ticket is session number last digit + Sequence number last 2 digits.
But I don't understand something :
When I was using odoo 17, the Sequence number incremented regardless of incremental number 1, giving something like this :
Commande 00249-001-0001
Commande 00249-001-0002
Commande 00249-001-0003
Commande 00249-002-0004
Commande 00249-004-0005
Commande 00249-005-0006
Commande 00249-006-0007
Even though I have no idea what the incremental number 1 actually is, it suited me just fine, making it easy to see how many commands I got on a specific session. And the command number printed on the receipt is unique on the day (unless I have more than 100 commands, which I'd love, but it would still be pretty rare)
But now on 17.4, it seemed to have changed. When the mysterious incremental number 1 changes, the Sequence number goes back to one :
Commande 00257-001-0001
Commande 00257-001-0002
Commande 00257-001-0003
Commande 00257-001-0004
Commande 00257-002-0001
Commande 00257-002-0002
Commande 00257-003-0001
Commande 00257-004-0001
Commande 00257-006-0001
which I find really hard to understand. and on that day, more than half receipt have the command number 701, making it pretty much useless.
Do anyone know if I made a parameter error, and what is that ever elusiv incremental number whose only function that I can see is to make me doubt my sanity ?
Thanks !