Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6265 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Mar 15
10436
2
Mar 15
7205
2
Mar 15
6474
1
Agu 25
4553
3
Jun 25
1586