This question has been flagged
2 Replies
6008 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,

Avatar
Discard
Best Answer

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>
Avatar
Discard
Author

Thank you so much i will try this.

Author

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

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.

Best Answer

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

Avatar
Discard