Hello
Add this class in your module ,not the existing module. one more thing never
edit the existing module,just inherit the features in your own module and add
the new features.
class res_partner(osv.osv):
_inherit = 'res.partner'
_sql_constraints = [
('name', 'UNIQUE (name)', 'The name of the partner must be unique !')
]
res_partner()
------------------------
thanks and regards
anoop
[email protected]
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=60887#60887
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users