跳至内容
菜单
此问题已终结
1 回复
3895 查看

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?

相关帖文 回复 查看 活动
1
9月 21
3405
1
6月 19
4010
1
10月 15
4675
2
7月 25
382
1
6月 25
1414