Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option
此问题已终结
1
回复
4656
查看
Hello,
options="{'no_create_edit': True}"
Add this in xml inside many2one field
Ex.
<field name="m2o_field" options="{'no_create_edit': True}"/>
in question it is mentioned that it is js/python
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
10月 19
|
7866 | ||
|
|
1
10月 21
|
5945 | ||
|
|
2
10月 20
|
6382 | ||
|
|
3
5月 20
|
7364 | ||
|
|
0
7月 19
|
4681 |