How to reset (recalculate) ID in the table?

After a bunch of tests of my Wizard, the ID jumped to high numbers.
I know how to do that “manually” directly in Postgres, with that — that will destruct the relations. Hence, I am thinking — is there a way to rebuild ids (or just codes) to consequent numbers from inside Tryton?

image

No because there is no point to do such think. IDs are internal number just for the code, we do not care about them.