Skip to Content
Menú
This question has been flagged
1 Respondre
3996 Vistes

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

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
1
de set. 21
3557
1
de juny 19
4194
1
d’oct. 15
4827
1
de jul. 25
610
2
de jul. 25
742