Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Show product in many2one field added in many2many field

    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 1.67k
    Answer it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: