Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4029 Ansichten

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
Verwerfen
Beste Antwort

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Sept. 21
3591
1
Juni 19
4242
1
Okt. 15
4857
1
Juli 25
711
2
Juli 25
812