콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
4539 화면
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


아바타
취소
베스트 답변

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

베스트 답변

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

아바타
취소