コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6152 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 15
10387
2
3月 15
7143
2
3月 15
6426
3
6月 25
1488
0
12月 24
9562