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!!
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/10/13, 3:48 AM|
|Seen: 713 times|
|Last updated: 3/16/15, 8:10 AM|