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
- Project
- MRP
This question has been flagged
1
Reply
3546
Views
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!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
1
अक्तू॰ 19
|
6550 | ||
|
|
1
अक्तू॰ 21
|
4828 | ||
|
|
2
अक्तू॰ 20
|
4710 | ||
|
|
3
मई 20
|
5977 | ||
|
|
0
जुल॰ 19
|
3425 |