Skip to Content
Menu
This question has been flagged
1 Atsakyti
4035 Rodiniai

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]
);
Portretas
Atmesti
Best Answer

Refer def action_invoice_open in account/models/account_invoice.py

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
1
rugs. 21
3597
1
birž. 19
4251
1
spal. 15
4871
1
liep. 25
752
2
liep. 25
853