Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 2 24
2830
0
thg 11 24
1235
3
thg 1 23
7539
1
thg 3 22
5397
1
thg 2 22
5544