Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3985 Widoki

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]
);
Awatar
Odrzuć
Najlepsza odpowiedź

Refer def action_invoice_open in account/models/account_invoice.py

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 21
3548
1
cze 19
4192
1
paź 15
4820
1
lip 25
553
2
lip 25
707