This question has been flagged

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.

Avatar
Discard

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

Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

use this code in your rml file

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

Avatar
Discard
Author Best Answer

Please, any idea?

Best regards.

Avatar
Discard