Skip to Content
Menu
This question has been flagged
1 Reply
1922 Views

After changing the implementation method of SO and PO from standard to no gap, the system keeps adding orders in sequence by next number, not using the deleted order numbers. Any thoughts?

sales.order and purchase.order sequencers keep going up by "next number"

Steps taken:

  • all users logged out / logged in again
  • upgraded Sales and Purchase app
  • upgraded base 

Subsequences disabled, sequence size 5, step 1, prefix S

Anything I might have skipped?

Avatar
Discard
Best Answer

Hi,

While assigning a sequence number to a record, the 'no gap' sequence implementation ensures that each previous sequence number has been assigned already While this sequence implementation will not skip any sequence number upon assignation, there can still be gaps in the sequence if records are deleted.

Check this link

https://github.com/odoo/odoo/commit/b5b7396b84fedd02535a5162632e749a1a06c0b5

Avatar
Discard
Author

Thank you, understood

Related Posts Replies Views Activity
2
Dec 24
3112
1
Dec 24
341
4
Nov 24
1362
1
Sep 24
1131
1
Sep 24
1198