Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4011 Переглядів

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]
);
Аватар
Відмінити
Найкраща відповідь

Refer def action_invoice_open in account/models/account_invoice.py

Аватар
Відмінити
Автор

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

Related Posts Відповіді Переглядів Дія
1
вер. 21
3571
1
черв. 19
4227
1
жовт. 15
4836
1
лип. 25
641
2
лип. 25
762