Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3000 Prikazi

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

Avatar
Opusti
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
Opusti

in question it is mentioned that it is js/python

Related Posts Odgovori Prikazi Aktivnost
1
okt. 19
6012
1
okt. 21
4276
2
okt. 20
4113
3
maj 20
5302
0
jul. 19
2863