İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3980 Görünümler

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
Vazgeç
En İyi Yanıt

Refer def action_invoice_open in account/models/account_invoice.py

Avatar
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 21
3547
1
Haz 19
4190
1
Eki 15
4819
1
Tem 25
550
2
Tem 25
700