تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
26912 أدوات العرض

Hi,

I would like to add to the model res.partner a multiple selection field. How could I do this ?

The field type 'selection' authorizes only one option to be selected.

I would like to avoid to make a one2many relation, in order to propose only two 'static' options, so the users won't be able to create/delete any options.

Thanks for your help

Cheers

الصورة الرمزية
إهمال
أفضل إجابة

make a many2many field and use the tag widget

الصورة الرمزية
إهمال
الكاتب

Thanks that worked like a charm.

How did you put the options?

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 24
3239
0
مارس 15
3472
1
مارس 15
8436
2
ديسمبر 23
9933
3
أكتوبر 16
6914