Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6049 Zobrazení

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šit
Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
bře 15
10302
2
bře 15
7085
2
bře 15
6325
3
čvn 25
1384
0
pro 24
9464