Before this patch, sequence was bumped when loading defaults. That happened even before creating the record. That rendered no-gap sequences useless.
Now, sequences are executed only on record creation, when the user didn't give a default value to the sequenced fields.
To support the use case when you want a sequence on required fields, you can set a value of `-` on those fields on creation. Then, the sequence will also kick in.
@moduon MT-2715
This module extends the defaults functionality to allow filling *Character*
type fields on creation with a predefined sequence.
@moduon MT-1506
Co-authored-by: Eduardo de Miguel <1162050+Shide@users.noreply.github.com>