How to filter many2one field in openerp.
_columns = {
'hello': fields.selection([('1','one'),('2','two')],'hello'),
'product_id': fields.many2one('product.product',
'Product',
domain=[('type','=',hello)])'
...
}
If assume product.product have field called type which is also selection and its value same as hello does it work in xml or python??