Odoo Help


In a sequence's settings, what is "No Gap" and "Standard"?

Gilles Lehoux
on 2/15/14, 6:29 PM 5,345 views

In settings, Settings > Technical > Sequences & Identifiers > Sequences, for each sequence, one of the options is called Implementation and can be set to either Standard or No Gap. Just based on the name, one could guess the difference but "Standard" is a rather vague term on its own in this context.

What is the formal definition for these two implementation options and how does one choose one or the other?


Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
| 7 7 9
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo Americas

Fabrice Henrion (fhe)
On 2/15/14, 6:58 PM

No gap means you cannot have a gap in the numbering of documents.
For example, if you create a quotation, it will be numbered as Quotation 001. Then the second you create will be Quotation 002. If you then delete this second quotation and create a third one, it will be:

  • Quotation 002 with "no gap"
  • Quotation 003 with "Standard"

The "No gap" will detect the latest number in use while the standard will keep incrementing no matter what happens to the previous ones.

I've tested this extensively, and from everything I can see, the "No Gap" implementation does not work. I performed an exact test with purchase order / quote as in your example, and the system continues to use the next sequence number (incremented by one). Please, can something shed some light on this?

tim diamond
on 8/1/14, 2:04 PM
Gregor Heger
On 11/19/14, 10:10 AM

I also have to add, that no gap implementation doesn't work. It has been marked as bug in https://bugs.launchpad.net/openobject-server/+bug/1170601 but nothing happened since then.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/15/14, 6:29 PM
Seen: 5345 times
Last updated: 3/16/15, 8:10 AM