Hi,
I just started learning odoo and i need a bit of help on this issue.
So, I have asked user to upload an image and enter a name while creating a new Invoice. These name and image are then to be displayed in invoice header area. The problem here is that when i inherit report_template and call the field it displays the last entered entry instead of actually going into the invoice details and fetching the value it just displays the last value. Like for example if i have two invoices and i'm trying to print 1st invoice, the header details comes of the 2nd invoice. The ideal print should go to the details and fetch matching records of 1st invoice but the functionality right now just fetches the last record in the database. I know what my error is i don't know how to rectify it as im a newbie to this odoo. Can anyone please help me and guide me on how to get this right
Thanks in advance