Receipt number is random! can't we change that to sequenced numbers?

Asked by Danilo Da Silva on 2012-12-04

When printing the receipt from the POS it gives a randomly generated number, how can we go about to put a sequence number like starting from sale 0001, 0002, 0003...

Question information

English Edit question
Odoo Addons (MOVED TO GITHUB) Edit question
No assignee Edit question
Last query:
Last reply:
luis tobar (ltobar) said : #1

The POS order number today is HH:MM, would be a secuence too.

The reciept number is a internal method or function, not customizable.

Danilo Da Silva (micro-j) said : #2

when i use the following <t t-esc="widget.currentOrder.getName()"/> for a receipt number it doesn't give a sequenced number, there random numbers, and the certain Governments wouldn't accept that as a receipt number. how can i have it as a sequence. like starting from 00001, 00002....

Navrang Oza (noz-tiny) said : #3


There are some changes required in Javascript.
You can see our blogs for POS Customizations:

Navrang Oza.
Skype: intellectseed
Email: <email address hidden>

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.