Skip to Content
Menú
This question has been flagged
1 Respondre
6389 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
2
de març 15
10567
2
de març 15
7336
2
de març 15
6587
1
d’ag. 25
4868
3
de juny 25
1833