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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
3202
瀏覽次數
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
9月 23
|
3721 | ||
|
1
9月 21
|
26789 | ||
|
2
7月 20
|
4029 | ||
|
2
9月 23
|
4597 | ||
|
1
1月 23
|
2802 |