Hello, i am currently using Odoo 12. we have the sql constraints below:
_sql_constraints = [
('check_pr_ref',
"unique(project_reference)",
'The project reference already exists'),
]
i'd like to add an exception to allow if the project_reference = "PR0000"
thanks in advance,
Anthony.