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

Hey everyone! I can't validate the invoice

I found the method somewhere but it doesn't work...

This method twice changes Status: Draft -> PAID :(
I need to change the status to "open". In other words I need to validate invoice.

Help me please and tell me where Where can I get information about those methods?

$res = $model->execute_kw(
$db,
$uid,
$password,
'account.invoice',
'invoice_validate',
[5244]
);
아바타
취소
베스트 답변

Refer def action_invoice_open in account/models/account_invoice.py

아바타
취소
작성자

Thanks! But Where can I find this method? How do you know about it?

관련 게시물 답글 화면 활동
1
9월 21
3757
1
6월 19
4417
1
10월 15
5044
1
7월 25
1092
2
7월 25
1242