Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3991 Vues

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
Ignorer
Meilleure réponse

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
1
sept. 21
3556
1
juin 19
4194
1
oct. 15
4825
1
juil. 25
610
2
juil. 25
741