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

Hello friends.

For quite some time I have a problem with the report Overdue Payment (overdue_payment.sxw) tell them:

I urgently need to add the invoice number to report overdue_payment.swx. In the current report shows the following information: date, description, Ref, Maturity date, Due, Paid, Maturity. And I need to leave the invoice number (consecutive number of the bill).

Please appreciate if you give me an idea of ​​how to do this, because I've tried a thousand ways and nothing.

What I am doing is the following:

[[Line [('move_id')]]]

But it shows me the invoice number shows me the following in all lines: browse_record (account.move, 12)

Any help is fully welcomed.

Ảnh đại diện
Huỷ bỏ

In Odoo v8, it seems to be report_overdue.xml file.

Câu trả lời hay nhất

create 2 columns in your report and give the label is Invoice No and in another column please put this code

[[ line ['invoice']['internal_number'] ]]

This worked for me

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

use this : [[ line['move_id']['name'] ]] It is working code, I have used this

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

use this code in your rml file

[[ line ['invoice']['internal_number'] ]]

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Please, any idea?

Best regards.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4643
0
thg 3 15
3746
2
thg 1 16
5366
1
thg 8 15
4881
2
thg 10 20
5238