跳至内容
菜单
此问题已终结

Dear Sirs and Madams,

I am stuck adding invoices to Odoo via API xmlrpc. Since I use Odoo 13 I am working with account.move and account.move.line. I can add an account.move entry and with the id from that account.move.line items, but those are not shown in Odoo GUI. I can only see them when looking at the database. So there is no problem connecting or in the syntax, I seem to be missing something in another table.

Prior to Odoo 13 when invoice was its own model there was a magic line like "action_invoice_open" (or something alike) that had to be sent to the model to make the invoice known to the system, but in account.move this does not exist anymore.

So my questions:

1. Could I have missed some entry in account.move or account.move.line that prevents showing the invoice in GUI (like the tax line or some id)?
2. Do I have to make entries in other tables apart from account.move and account.move.line to make the system see the new invoice?
3. Is there a program instruction like the one prior to Odoo13 that has to be sent to account.move or some other model?
4. Or am I barking at the wrong tree? Should I use another model like sale or sth. to get my invoice into the system?


Thank you in advance,

Best regards,

William


形象
丢弃
相关帖文 回复 查看 活动
4
2月 24
2818
0
11月 24
1209
3
1月 23
7527
1
3月 22
5394
1
2月 22
5541