The following domain addition throwing a error while using department_id field in search view.
And tried the openerp doc doc.openerp.com/v6.0/developer/2_6_views_events/views/search_view.html#fields
How can i solve this?
<field name="type">search</field> <field name="arch" type="xml"> <search string="Home"> <field name="company_id"/> <field name="department_id" domain="[('company_id','=',company_id)]"/> </search> </field>
Thanks in advance
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/29/13, 8:49 AM|
|Seen: 3174 times|
|Last updated: 3/16/15, 8:10 AM|