Skip to Content
Menu
This question has been flagged
1 Odpoveď
2993 Zobrazenia

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

Avatar
Zrušiť
Best Answer

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

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


Avatar
Zrušiť

in question it is mentioned that it is js/python

Related Posts Replies Zobrazenia Aktivita
1
okt 19
6005
1
okt 21
4261
2
okt 20
4103
3
máj 20
5291
0
júl 19
2859