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:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
3006
Visualizações
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
out. 19
|
6018 | ||
|
1
out. 21
|
4288 | ||
|
2
out. 20
|
4119 | ||
|
3
mai. 20
|
5307 | ||
|
0
jul. 19
|
2863 |