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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
2995
Görünümler
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Eki 19
|
6006 | ||
|
1
Eki 21
|
4263 | ||
|
2
Eki 20
|
4103 | ||
|
3
May 20
|
5293 | ||
|
0
Tem 19
|
2862 |