Skip to Content
Menu
This question has been flagged
1 Atsakyti
3140 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
6136
1
spal. 21
4386
2
spal. 20
4256
3
geg. 20
5472
0
liep. 19
3035