Actualmente tengo esto:
$line_array_product = array(
'order_id' => new xmlrpcval($erp_order_id, "int"),
'type' => new xmlrpcval('Product', "string"),
'product_id' => new xmlrpcval($erp_product_id, "int"),
'price_unit' => new xmlrpcval($total_price, "string"),
'product_uom_qty' => new xmlrpcval($details['product_quantity'], "string"),
'name' => new xmlrpcval(str_replace('+', ' ', urlencode($details['product_name'])), "string"),
'discount' => new xmlrpcval($reduction_rate_tax_excl, "string"),
'tax_id' => new xmlrpcval($erp_tax_id, "string"), ## <-- Problema aqui
'ecommerce_channel' => new xmlrpcval('prestashop', "string"),
);
Quiero poder pasarle a Odoo 9 los impuestos pero por algún motivo odoo no me está recibiendo el dato (API nativa de odoo 9).
Se que el tax_id puede recibir varios ids pero no tengo claro como..