bit of a newbie here so sorry if this question isn't good.
There are many fields in odoo that I would like to enforce unique data - eg Product Name, Category, Internal Ref etc...may other fields and modules.
Do I have to modify all the python object modules throughout odoo with SQL Contraints???? I was expecting just to check a box against a field to make it unique!
If I do have to add a python SQL constraints in python modules am I best to modify the odoo modules, or should I inherit the standard odoo object into a new object with my added constraints thereby keeping the odoo module un-modified? eg if a standard odoo module is updated then my added constraints will still apply?
Hope this is a sensible question!