Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
19590 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

Here is the actual and exact explanation: https://github.com/odoo/odoo/commit/b5b7396b84fedd02535a5162632e749a1a06c0b5

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează

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?

Related Posts Răspunsuri Vizualizări Activitate
2
feb. 19
12435
0
mar. 15
5255
3
dec. 23
7264
0
mar. 15
4296
1
mar. 15
7587