Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6119 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
mars 15
10347
2
mars 15
7130
2
mars 15
6395
3
juin 25
1470
0
déc. 24
9529