Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4023 Представления

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
3586
1
июн. 19
4235
1
окт. 15
4852
1
июл. 25
704
2
июл. 25
803