Hi,
I'm trying to create a new sale order line from a custom module but I'm getting this error:
`convert amount from unknown company`
This is the code I'm using:
order_line.sudo().create([{'product_id': itemId,
'product_uom_qty': quantity,
'order_id': orderId}])
I tried passing company_id and currency_id, and I'm getting the same error.
PD: The order has company_id and currency_id filled.