Skip to Content
मेन्यू
This question has been flagged
1 Reply
3246 Views

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

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

in question it is mentioned that it is js/python

Related Posts Replies Views Activity
1
अक्तू॰ 19
6299
1
अक्तू॰ 21
4494
2
अक्तू॰ 20
4415
3
मई 20
5605
0
जुल॰ 19
3137