Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3984 Weergaven

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
Annuleer
Beste antwoord

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Annuleer
Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
1
sep. 21
3548
1
jun. 19
4192
1
okt. 15
4820
1
jul. 25
553
2
jul. 25
706