odoo13 searchpanel tree
Posted yanhuaqiang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了odoo13 searchpanel tree相关的知识,希望对你有一定的参考价值。
<record id="view_department_filter" model="ir.ui.view"> <field name="name">hr.department.search</field> <field name="model">hr.department</field> <field name="arch" type="xml"> <search string="Departments"> <field name="name" string="Department"/> <field name="manager_id" /> <filter string="Unread Messages" name="message_needaction" domain="[(‘message_needaction‘,‘=‘,True)]"/> <separator/> <filter string="Archived" name="inactive" domain="[(‘active‘,‘=‘,False)]"/> <searchpanel> <field name="company_id" groups="base.group_multi_company" icon="fa-building"/> <field name="parent_id" icon="fa-users"/> </searchpanel> </search> </field> </record>
以上是关于odoo13 searchpanel tree的主要内容,如果未能解决你的问题,请参考以下文章
AssertionError: Element odoo has extra content: 记录,第 3 行 - - - Odoo13