How to create search panel in odoo17
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
Hi,
We can create a search panel for the product model.
This is the XML code for the search panel:
<record id="product_template_search_
<field name="name">product.template.
<field name="model">product.template<
<field name="inherit_id" ref="product.product_template_
<field name="arch" type="xml">
<search position="inside">
<searchpanel>
<field name="categ_id" enable_counters="1" icon="fa fa-filter"/>
<field name="detailed_type" icon="fa-files-o"/>
</searchpanel>
</search>
</field>
</record>
For more details, refer to the blog:
https://www.cybrosys.com/blog/how-to-create-a-search-panel-in-odoo-17
Hope it helps
Hi Alex:
The following section in the Odoo tutorial explains it well.