Hi all:
I try to create a BOM using odoorpc
if i create an empty BOM for the product number 6 it works
bom_id=odoo.execute('mrp.bom','create',{'product_tmpl_id':6})
But i do not manage to add lines to my BOM for exemple to add
bom_id=odoo.execute('mrp.bom','create',{'product_tmpl_id':6,'bom_line_ids':[(0,0,[3,2,4])]}) but it do not work i try :[(6,0,[3,2,4])] and many other solution with no good result
my product.template looks
ID; name
"1";"prod1"
"2";"lprod1"
"3";"lprod2"
"4";"lprod3"
"5";"testrpc"
"6";"prodbom1"
So where is my mistake.
Thanks for any help