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

Hi,

I'm trying to change the payment status of an Invoice with the PHP API.

I'd like to change it from Open to Paid, but it seems that it's not working as expected. Instead of this it appears:

  • Status: Paid  Open

I'm using this code in order to do it:

$salida = $models->execute_kw($db, $uid, $password, 'account.invoice', 'write',
array(array($item['id']), array('state'=>"paid")));
Am I doing something wrong?

Best regards
아바타
취소

To make invoice in paid state you need to call the method of button "register payment" and pass required values .

작성자 베스트 답변

Do you have any example?
Regards

아바타
취소
관련 게시물 답글 화면 활동
0
5월 19
4252
1
6월 17
3707
1
2월 25
1679
0
11월 24
1456
1
6월 24
1733