Skip to Content
Menu
This question has been flagged
1 Odpoveď
6721 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
mar 15
10935
2
mar 15
7620
2
mar 15
6953
1
okt 25
5307
3
jún 25
2246