Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6170 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
бер. 15
10393
2
бер. 15
7144
2
бер. 15
6440
3
черв. 25
1488
0
груд. 24
9566