This question has been flagged
1 Reply
2637 Views

in odoo-7 for invoice print there is a rml file "account_print_invoice.rml". But this file not there in odoo-8. I want to change invoice print. How can i proceed. Can any one help me please? 

Avatar
Discard
Thank you Zbik,
Can you please look in to this code?

On Sat, Jan 3, 2015 at 3:05 AM, zbik <darek@mail.odoo.com> wrote:

A new answer for Can any one tell me where can i found customer invoice pdf print code in version 8? has been posted. Click here to access the post.

--
zbik
Sent by Odoo S.A. using Odoo about Forum Post Can any one tell me where can i found customer invoice pdf print code in version 8?



--
--

Thanks and Regards,

Sambasiva rao,

Cell: +91.9676622023

Skype: samba.guduru2(skype)
After installing this module Goto customer invoices. select "invoice priint with vehcle information". Then i am getting the below error
yntaxError: JSON.parse: unterminated string at line 2 column 1074 of the JSON data

http://localhost:8072/web/js/web.assets_backend/b66018c:2965

On Sat, Jan 3, 2015 at 3:35 AM, Samba Odoo <sambaodoo@gmail.com> wrote:
Thank you Zbik,
Can you please look in to this code?

On Sat, Jan 3, 2015 at 3:05 AM, zbik <darek@mail.odoo.com> wrote:

A new answer for Can any one tell me where can i found customer invoice pdf print code in version 8? has been posted. Click here to access the post.

--
zbik
Sent by Odoo S.A. using Odoo about Forum Post Can any one tell me where can i found customer invoice pdf print code in version 8?



--
--

Thanks and Regards,

Sambasiva rao,

Cell: +91.9676622023

Skype: samba.guduru2(skype)



--
--

Thanks and Regards,

Sambasiva rao,

Cell: +91.9676622023

Skype: samba.guduru2(skype)
Best Answer

You find "report_invoice_document" in Qweb views from menu Settings/User Interface/Views (filter Qweb)
or in file account/views/report_invoice.xml

Avatar
Discard
Author

Thank you. i have copied same file to another file to another .xml file. Is there any changes in flow of report. i have added report tag in view file and written xml parser in .py file. Given path of .xml file in both files. It is giving json error. Other pdf report s are working fine. This is the one i have developed not working.

In v8 parsers works otherwise and require reconstruction. See example: https://www.odoo.com/forum/help-1/question/setlang-in-new-reporting-engine-qweb-twitter-bootstrap-wkhtmltopdf-71633