I my odoo app a have two models "contract" and "contract_line". Each contract has a One2many field (contract_line_ids) meaning that each contract has a list o many contract lines.
In the contract I have represented that one2many contract_line_ids as a tree view inside the form. The problem is that a contract has too many contract line and is dificult to locate a specific contract line. So I need to implement a search box, or any other way to filter those contract lines inside "contract" that matches ans specific condition (ex search the contract_line with ans specific name, cod etc.)
How do I implement a search mechanism for that One2many field?
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
2982
Visualizações
Hi,
There is a module in odoo apps store for version 13, see whether it works in odoo 12 or refer the code: Quick Search in one2many
Thanks
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
set. 23
|
3408 | ||
|
1
set. 21
|
26183 | ||
|
2
jul. 20
|
3708 | ||
|
2
set. 23
|
4261 | ||
|
1
jan. 23
|
2543 |