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.
What happened ?
i have added a field in my product form , which display the number of the product . Everything works fine. Now what i want to do , is to be able to make a search by the new field ( number ) .
I went to settings - Fields and i saw that i have the option Not Searchable and i change it to searchable . But it still can't search , anyone know why?
i don't know if you solved the problem or you still looking for a solution..
this is done by creating a search view that looks like this :
<record id="your Id " model="ir.ui.view">
<field name="name"> search</field>
<field name="model">Your model</field>
<field name="arch" type="xml">
<group string="Filter"> // if you want to set filters...
Now all you have to do is to fill the seach box with a number and choose search in number.
let me know if it works
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
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: 4/22/16, 10:05 AM|
|Seen: 275 times|
|Last updated: 5/12/16, 1:24 PM|