İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6669 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Mar 15
10900
2
Mar 15
7595
2
Mar 15
6925
1
Eki 25
5270
3
Haz 25
2202