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

Asked by Danilo Da Silva

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

Language:
English Edit question
Status:
Expired
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
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....

Revision history for this message
Navrang Oza (noz-tiny) said :
#3

Hello,

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

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

Revision history for this message
Launchpad Janitor (janitor) said :
#4

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