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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
0
Şub 21
|
2208 | ||
change between 2 Invoice formats
Çözüldü
|
|
1
Tem 25
|
546 | |
|
2
Tem 25
|
693 | ||
|
1
Tem 25
|
1747 | ||
|
3
Nis 25
|
1769 |
Can you share the solution with us please , i'm stuck with the same issue