콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2964 화면

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
2557
1
7월 25
1109
2
7월 25
1265
1
7월 25
2365
3
4월 25
2261