Hi fellows here I created many2many field in view it widget is many2many_tags here I select products as tags
now what I really want is that I want to show only that products in project.task field product_id which I have selected in the many2many productrelation field ..
_inherit = 'project.project'
'productrelation' : fields.many2many('product.product', string="Select Multiple products"),
class task_project(osv.Model): #declaring/creating new class
_inherit = 'project.task' #inheriting class