Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
1
回覆
3752
瀏覽次數
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
|
6764 | ||
|
|
1
10月 21
|
5006 | ||
|
|
2
10月 20
|
4909 | ||
|
|
3
5月 20
|
6245 | ||
|
|
0
7月 19
|
3655 |