I need to validate records on save and issue a UserWarning in case the record is not valid.
Which is the proper place for this validation? pre_validate()
. validate()
or somewhere else?
I need to validate records on save and issue a UserWarning in case the record is not valid.
Which is the proper place for this validation? pre_validate()
. validate()
or somewhere else?
validate
is the right method to do such validations.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.