Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2724 Vizualizări

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.

Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 21
2261
1
iul. 25
630
2
iul. 25
753
1
iul. 25
1822
3
apr. 25
1860