Odoo Help

Welcome!

This community 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.

1

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

By
Gilles Lehoux
on 2/15/14, 6:29 PM 3,538 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?

1

Fabrice Henrion (fhe)

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

Director Odoo USA

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
0
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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