Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4012 Visualizações

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
Cancelar
Melhor resposta

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
1
set. 21
3571
1
jun. 19
4228
1
out. 15
4838
1
jul. 25
649
2
jul. 25
768