Odoo Help

0

Is it Possible to edit a many2many field after selection

By
Odoo
on 4/20/16, 5:37 AM 660 views
product_id=fields.Many2many('product.template', 'user_product_rel','prod_rel','user_rel','Service Type',required=True)
Is it Possible to edit this field after selection
If I select this field I can only close this field want to edit this field from selection ,like a many2one field edit option
 ..
Attached screen shot below ..need a help.......


http://prnt.sc/aujxkc


1
Prakash Sharma
On 4/21/16, 2:28 AM

in the shared image you are using  widget="many2many_tags" with the many2many field.

 widget="many2many_tags" are non editable by default .

(but there is nothing impossible for a developer , extend the widget and change it property add link  of record with it  )


IF you   don't  want any  extra  code ,  try widget="many2many"  ,

(but it will change the view, so you have to reconstruct the view )


Hop this may help in your case.


Thank you.. will chk

Odoo
on 4/21/16, 2:44 AM
0
zarzarsan
On 6/30/16, 6:15 AM

if you want to edit a many2many field after selection remove readonly=1 from your view form.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/20/16, 5:37 AM
Seen: 660 times
Last updated: 6/30/16, 6:15 AM