Odoo Help

1
4 Answers
0
AGENCE Z7
2/11/19, 3:18 PM

Hello Kabeer,

I don't know if you found a solution but I came across this issue as well. The only solution I found was to give CRUD rights on both tables the many2many field, not really satisfying...

I even tried to set the relation/column1/column2 parameters and create the relation model to be able to add access rights to the relation table but it is not enough...

many2many_tags and many2many_checkboxes widgets would let you select the attachment you want but it is far from the tree view list with searchbar you get with the standard many2many.

0
Avatar

subbarao

--subbarao--

873
| 4 1 4
Chennai, India
--subbarao--


subbarao
12/11/18, 1:59 AM

Hello Kabeer,

Try this in xml file

<field name="attachment_ids" widget="many2many_tags" />

0
Jitendra Prajapati (jpr)
12/11/18, 12:45 AM

Hello, Kabeer 

try this one in xml file <field name="attachment_ids" widget="many2many_binary" />

 


Ask a Question
Writer
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