コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2761 ビュー

Hello, I manage to create invoices with the API without any problem. The total is correct but the amount due (residual field) remains at 0 € and I cannot find how to make it take the total amount.


Thank you.

アバター
破棄

Can you share the solution with us please , i'm stuck with the same issue

最善の回答

Hello,
I was looking at the beginning to modify the status of the invoice directly by updating the status field (I no longer have its name in mind). I finally used the following line in PHP to achieve this:
$models->execute_kw($this->base, $uid, $this->pass, 'account.invoice', 'action_invoice_open', array($result["invoice"]));

Everything is calculated correctly then

アバター
破棄
関連投稿 返信 ビュー 活動
0
2月 21
2303
1
7月 25
766
2
7月 25
868
1
7月 25
1936
3
4月 25
1963