Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3045 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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šit

in question it is mentioned that it is js/python

Related Posts Odpovědi Zobrazení Aktivita
1
říj 19
6040
1
říj 21
4324
2
říj 20
4147
3
kvě 20
5337
0
čvc 19
2898