Skip to Content
Menu
This question has been flagged
1 Reply
863 Views

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 !

Avatar
Discard
Best Answer

Hi Vincent,

what surprises me is that you see this difference between Odoo 17 and Odoo 17.4 - actually these two versions work identically as far as this topic is concerned. Have you possibly adjusted the pos.order sequence manually? You can find this in the settings in the developer mode of your POS in the ‘Bill & Receipts’ section.


Your findings about the creation of the numbering are correct as far as nothing has been changed manually. The incremental number changes as soon as you jump from your POS to the backend and then continue the sale. This does indeed result in multiple receipts with identical numbers, as you have already correctly stated.

However, this is actually standard behaviour since you can also jump from the POS to the backend during a session 


Regards,
Chris Dominiak (Intero Technologies GmbH)

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 25
2041
1
Aug 23
955
0
Jul 22
2078
1
Nov 20
2621
2
Jul 17
4406