Skip to Content
Menu
This question has been flagged
1 Atsakyti
3019 Rodiniai

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

Portretas
Atmesti
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}"/>


Portretas
Atmesti

in question it is mentioned that it is js/python

Related Posts Replies Rodiniai Veikla
1
spal. 19
6021
1
spal. 21
4306
2
spal. 20
4126
3
geg. 20
5318
0
liep. 19
2878