Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4027 Näkymät

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
Hylkää
Paras vastaus

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
syysk. 21
3589
1
kesäk. 19
4238
1
lokak. 15
4855
1
heinäk. 25
707
2
heinäk. 25
811