Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4009 Prikazi

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
Opusti
Best Answer

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Opusti
Avtor

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

Related Posts Odgovori Prikazi Aktivnost
1
sep. 21
3570
1
jun. 19
4222
1
okt. 15
4836
1
jul. 25
636
2
jul. 25
757