コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4004 ビュー

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
3566
1
6月 19
4207
1
10月 15
4832
1
7月 25
615
2
7月 25
751