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 ..
class projectdescription(osv.Model):
_inherit = 'project.project'
_columns={
'productrelation' : fields.many2many('product.product', string="Select Multiple products"),
}
class task_project(osv.Model): #declaring/creating new class
_inherit = 'project.task' #inheriting class
_columns={
'product_id':fields.many2one('product.product','Products'),
}
Thanks for help in advance
1 Answer(s)