Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3982 Vistas

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
Mejor respuesta

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?

Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 21
3547
1
jun 19
4192
1
oct 15
4819
1
jul 25
552
2
jul 25
704