Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
6429 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 15
10598
2
mar 15
7368
2
mar 15
6611
1
ago 25
4898
3
jun 25
1862