Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
6237 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
mar. 15
10413
2
mar. 15
7193
2
mar. 15
6455
3
jun. 25
1534
0
dec. 24
9653