[IMP] create a constraint to avoid the users create same serial number
Bug #1318447 reported by
Ariel E. Figueroa - http://www.humanytek.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SF Soluciones |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi team, please create a constraint to avoid the users create same serial number
Thanks!
Related branches
To post a comment you must log in.
Hi team. i see this code inside of file sfs_stock_ customisation/ stock.py but im testing and dont are working
class stock_productio n_lot(osv. osv):
_inherit = "stock. production. lot"
_sql_ constraints = [
('name_ uniq', 'unique (name)', 'The Serial Number must be unique !'),
]