Skip to Content
मेन्यू
This question has been flagged
1 Reply
6032 Views

Is there any way of making serial numbers:

1 - Unique 2 - Constrained, e.g. only an integer of a set number of digits

My product serial numbers are always a set number of digits and are unique per manufactured product, so OpenERP needs to help enforce that when warehouse users are entering the serial numbers.

Thanks,

Dave

Avatar
Discard
Best Answer

if we want to specify an attribute as an unique attribute in openerp, we have to use _sql_constraints dictionary, we have to give the unique rule in that dictionary.

Avatar
Discard
Related Posts Replies Views Activity
2
मार्च 15
10302
2
मार्च 15
7083
2
मार्च 15
6315
3
जून 25
1378
0
दिस॰ 24
9453