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

I have a many2many field that represents a list of student. I want to only add student to that list but not remove any students from that list (in form view). Is it possible to implement that?

アバター
破棄
最善の回答

Hi Tung Nguyen,

Please note to explain which version of Odoo you are referring to. In Odoo 15 you can use Node options to define the possibility of the records delete option Many2Many fields. an example is given below :

<field name="user_ids" string="Allow users" widget="many2many" options="{'unlink': False}"/>


Regards

アバター
破棄
著作者

I'm using Odoo 14 and it worked as well.

関連投稿 返信 ビュー 活動
15
9月 21
41971
2
2月 21
3079
1
2月 25
2452
1
2月 24
1948
0
7月 24
2975