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

Hallo

in V8 I'm trying to access to the id and the context of an "final" invoice created from the sale order wizard.

While using the fixed price they are OK, when issuing a final invoice for the whole sale order I get these results:

  • logging the content of self outputs "account.invoice()" and id is false

  • logging the content of context outputs {}

The final invoice gets created by the method manual_invoice in sale.py (about line 453), called from create_invoice in sale_make_invoice_advance.py (about line 168).

The invoice then opens in the form, and is already present in the database: how can I retrieve its id or some other field?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
909
1
thg 4 25
136
0
thg 11 24
1659
2
thg 11 24
2142
4
thg 2 24
12272