Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4002 Visualizzazioni

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
Abbandona
Risposta migliore

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
set 21
3564
1
giu 19
4206
1
ott 15
4832
1
lug 25
613
2
lug 25
750