Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3992 Vizualizări

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]
);
Imagine profil
Abandonează
Cel mai bun răspuns

Refer def action_invoice_open in account/models/account_invoice.py

Imagine profil
Abandonează
Autor

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

Related Posts Răspunsuri Vizualizări Activitate
1
sept. 21
3556
1
iun. 19
4194
1
oct. 15
4826
1
iul. 25
610
2
iul. 25
741