I am new to the odoo,I want to add textbox and a button in the search box area of tree view.
Please help me on this.
Hi yogest, you cannot add the text box in the search view. You can add a filter for the search box.Try this example code in the your xml "search "view
<record id="view_account_analytic_account_search" model="ir.ui.view">
<field name="arch" type="xml">
<search string="Analytic Account">
<filter string="Draft" icon="terp-go-home" domain="[('state','=','draft')]" />
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/11/15, 5:59 AM|
|Seen: 691 times|
|Last updated: 3/16/15, 8:10 AM|