Odoo Help

0

1
2 Risposte
0
Hamza rana Pakistan
17/06/16, 15:51

Thanks for the quickest reply ever Jeremy.

Actually I don't know if I entered the code correctly in sales.order form. I entered it just below where it said field name = product_id.


'product_id' : fields.many2many('object.name', string='Details'),

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


Can you please tell me where should I enter this?
Also if it's not correct, please let me know the correct code for entering  just to select multiple products at once.

Thanks.

2 Commenti
Jérémy Kersten (jke) Belgio
17/06/16, 16:05

you have probabaly not read all the thread ... because you will see at bottom (https://www.odoo.com/forum/help-1/question/how-to-add-multiple-products-on-single-click-in-an-order-lines-of-po-so-order-forms-in-openerp-67725#answer_69383) that seems to be a better solution.

Hamza rana Pakistan
17/06/16, 17:02

I am not able to work on the thread you gave me. I already read it all. I can't find a way to change many2one relation to many2many no matter how I try.

Can you please guide me how to do it with the python coding? Thanks man.

Fai una domanda
Writer
Keep Informed
2 follower(s)
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