Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4013 Lượt xem

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]
);
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Refer def action_invoice_open in account/models/account_invoice.py

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 21
3572
1
thg 6 19
4228
1
thg 10 15
4838
1
thg 7 25
650
2
thg 7 25
770