I adding a custom model in axelor
In my model, I have a code field, I want this field to be unique and automatically increments according to a sequence defined in axelor’s Sequences function.
How to set unique to custom field?
And how to set sequence to a custom field ?
Please help me. Thanks