Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi guys, I have done a wizard using this many2many field:
'products': fields.many2many('product.product', 'product_rel', 'product', 'wizard_id', 'Products')
I did this, so that I can get a form view with the option "Add" and make a selction of products which results to be a tree view inside of my form, everything goes fine here, what I need to do, is to take this selection to sale.order, for this I have checked the action_invoice method of POS, but what I can see is that this function takes fields from the object pos.order and get them to account.invoice, the big difference between this and my module is the data in my module is stored in a many2many field and not in an object like in POS, so my question is ...How can I access the data stored in the many2many field and then take them to sale order??
Thanks in advance!!
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
|Asked: 10/10/13, 3:48 AM|
|Seen: 821 times|
|Last updated: 3/16/15, 8:10 AM|