Skip to Content
मेन्यू
This question has been flagged
1 Reply
3986 Views

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]
);
Avatar
Discard
Best Answer

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Discard
Author

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

Related Posts Replies Views Activity
1
सित॰ 21
3549
1
जून 19
4192
1
अक्तू॰ 15
4821
1
जुल॰ 25
555
2
जुल॰ 25
707