Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
You have to do a workaround to achieve it....
product_id is present in Order lines, so if you want to make it available for Searching in Order object (parent).. you can achieve it using functional field and its search function...
In Order : add a functional field, and in _fnct_search, you write a logic to search through lines and fetch the parent ids...
We can add filter domains.
<record id="search_view" model="ir.ui.view">
<field name="arch" type="xml">
<!--Add this filter domain -->
<field name="order_line" filter_domain="[('order_line.product_id.name','ilike',self)]" string="Products"/>
<group expand="0" string="Group By...">
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/5/14, 1:06 PM|
|Seen: 791 times|
|Last updated: 3/16/15, 8:10 AM|