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

Product Name in Quotation

By
rishi kesh
on 4/14/13, 4:54 PM 2,209 views

When i try to print a quotation or sales order, Its not showing the Product name and instead its showing only Description. Can some one tell me how to make the product name also to be displayed?

Thanks,

1
Turkesh Patel (tpa)
On 4/15/13, 5:31 AM

you can use this patch.

=== modified file 'sale/report/sale_order.rml'
--- sale/report/sale_order.rml 2013-03-18 13:56:54 +0000
+++ sale/report/sale_order.rml 2013-04-15 07:27:38 +0000 @@ -133,7 +133,7 @@

    <blockTable colWidths="181.0,70.0,80.0,70.0,50.0,85.0" repeatRows="1" style="Table4">
      <tr>
        <td>
   -          <para style="terp_tblheader_Details">Description</para>    
   +          <para style="terp_tblheader_Details">Name</para>
        </td>
        <td>
          <para style="terp_tblheader_Details_Centre">Tax</para> @@ -239,7 +239,7 @@
    <blockTable colWidths="181.0,70.0,80.0,70.0,50.0,85.0" repeatRows="1" style="Table4">
      <tr>
        <td>
   -          <para style="terp_tblheader_Details">Description</para>
   +          <para style="terp_tblheader_Details">Name</para>
        </td>
        <td>
          <para style="terp_tblheader_Details_Centre">Tax</para> @@ -263,7 +263,7 @@
      <blockTable colWidths="180.0,70.0,80.0,70.0,50.0,85.0" style="Table5">
        <tr>
          <td>
   -            <para style="terp_default_9">[[    format(line.name) ]] </para> 
   +            <para style="terp_default_9">[[    format(line.product_id.name) ]]    </para>
          </td>
          <td>
            <para style="terp_default_Centre_9">[[ ',    '.join(map(lambda x: x.name,    line.tax_id)) ]]</para>

Thank you so much i will try this.

rishi kesh
on 4/17/13, 4:57 AM

Hi can you tell me how to apply this patch? Should i edit this file and upload it or is there any other way in admin panel to do this

rishi kesh
on 4/17/13, 8:09 AM

Hi, I found that in the 'Product' form, under the 'Sales' tab you can enter a description for quotes, which is different from the description under the 'Information' tab. This sales description is then included under the product name when a quote is printed.

Magcam NV
on 7/11/13, 12:48 PM
0
CK
On 4/14/13, 11:58 PM

change the sale_order.rml or use the openoffice to change the report~~

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

0 follower(s)

Stats

Asked: 4/14/13, 4:54 PM
Seen: 2209 times
Last updated: 3/16/15, 8:10 AM