Help

what is use of select=1?

Closed
Avatar
H+

The question has been closed

by
Serpent Consulting Services Pvt. Ltd.
on 12/23/2013 00:54:38

Hello all,

I am new to openerp, and started developing the module, can any one explain why we are using "select=1" while defining the fields. any links can be helpful.

Avatar
Discard
1 Answer
2
Best Answer

Hello,

select is an attribute which marks this field as being one of the search criteria for this resource's search view.

  • A value of select="1" means that the field is included in the basic search, and a value of select="2" means that it is in the advanced search.
  • You can get more idea about Field's Attributes.

Hope this will help you.

Thank you.

1 Comment
Avatar
Discard

This used to work also in the field definition from the model. But I have seen some old code that has stopped working in v10 with this.

Was this deprecated ?