Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6100 Представления

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
10346
2
мар. 15
7122
2
мар. 15
6387
3
июн. 25
1457
0
дек. 24
9523