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

Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option

アバター
破棄
最善の回答

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

Ex.
<field name="m2o_field" options="{'no_create_edit': True}"/>


アバター
破棄

in question it is mentioned that it is js/python

関連投稿 返信 ビュー 活動
1
10月 19
6004
1
10月 21
4259
2
10月 20
4100
3
5月 20
5285
0
7月 19
2855