Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1143 Visualizações

Dear, I have a query, I am not saving an order (sale.order) through xmlrpc but the amount amount_untaxed, amount_tax and amount_total are saved as zero (0).


example from my registry {'name': '-2000008977564710', 'partner_id': 1, 'origin': 'MLC', 'amount_untaxed': 19290, 'amount_tax': 0, 'amount_total': 22790}

Avatar
Cancelar
Melhor resposta

Hi,
You have to add a sale order line, while creating the order and the amount values in the sale order is computed from the given order lines.

Thanks

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 25
1526
1
mai. 24
1900
2
abr. 21
5782
1
jul. 18
5235
2
jun. 25
643