Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Sales->Quotations print pdf Question.

By
Lerner
on 7/27/15, 2:17 AM 632 views
I need the quotation want to print with the Name & its Description In PDF while printing the quotation.I have edited in in the following C:\Program Files (x86)\Odoo 8.0-20150508\server\openerp\addons\sale\views\report_saleorder.xml XML file


<thead>

<tr>

<th>Name</th>

<th>Description</th>

</tr>

</thead>

<tbody class="sale_tbody">

<tr t-foreach="o.order_line" t-as="l">

<td>

<span t-field="l.name"/>

</td>

<td>

<span t-field="l.description"/> 

</td>

I have restarted the server in SERVICES of the windows too it is not effecting. 


First of all, don't modify existing reports. Inherit them and modify them.. sooner or later you will get in trouble. Secondly, you do not need to restart that service. You need to update the module that you've modified so that the files are re-loaded in the Odoo.

Yenthe
on 7/27/15, 2:29 AM

HI Yenthe I have updated the module and it is not recognizing the description column Giving this exception QWebException: "description" while evaluating "translate_doc(doc_id, doc_model, 'partner_id.lang', 'sale.report_saleorder_document')"

Lerner
on 7/27/15, 2:55 AM
0
M Grmn
On 2/7/16, 1:40 PM

Looks like me that you are looking for this  https://www.odoo.com/nl_NL/forum/help-1/question/odoo8-why-arent-my-custom-header-footer-template-changes-applying-to-the-quote-sale-reports-64523

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/27/15, 2:17 AM
Seen: 632 times
Last updated: 11/1/16, 1:53 PM