تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3061 أدوات العرض

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?








الصورة الرمزية
إهمال
أفضل إجابة

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
سبتمبر 23
3529
1
سبتمبر 21
26483
2
يوليو 20
3829
2
سبتمبر 23
4406
1
يناير 23
2639