跳至內容
選單
此問題已被標幟
1 回覆
1151 瀏覽次數

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}

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 25
1557
1
5月 24
1916
2
4月 21
5790
1
7月 18
5241
2
6月 25
668