CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Is it possible in the Sales order header search box to add Sales Lines fields data For example sale line details Product, description, qty to add in the sale order search box. If possible please give me idea. Thanks
go to settings->user interface->views, locate to the view sale.order.list.select, type search. add the following new search field <field name="order_line" string="Product name Desc" filter_domain="['|',('order_line.product_id.name','ilike',self),('order_line.product_id.description','ilike',self)]"/>
go to sales order list view, type the search text into search box, system will prompt dropdown list by which you can choose search on the "product name Desc" field, based on the same logic, you can search on other related one2many fields by revising the search view accordingly.
About This Community
Odoo Training Center
|Asked: 9/16/13, 4:22 AM|
|Seen: 1910 times|
|Last updated: 3/16/15, 8:10 AM|