product label

Bug #309565 reported by Joel Cabral
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Mantavya Gajjar (Open ERP)
5.0
Fix Released
Undecided
Mantavya Gajjar (Open ERP)

Bug Description

      The currency in the 'Product Label' report is hardcoded. its value is always in 'EUR' it should be flexible and can use the currency that the company is using.

      The bug is located in product_label.xsl

<xsl:template match="lot-line" mode="story">
   <blockTable style="mytable" colWidths="2.8cm,5.4cm">
   <tr>
    <td>
     <para style="nospace"><xsl:value-of select="code"/></para>
    </td><td>
#####THIS LINE IS WHERE THE CURRENCY IS HARDCODED#########
     <para style="nospace"><xsl:value-of select="price"/> EUR</para>
    </td>
   </tr><tr>
    <td>
     <barCode><xsl:value-of select="ean13"/></barCode>
    </td><td>
     <para style="nospace"><xsl:value-of select="product"/></para><xsl:text>, </xsl:text>
     <para style="nospace"><xsl:value-of select="variant"/></para>
    </td>
   </tr>
   </blockTable>
 <nextFrame/>
 </xsl:template>

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

will be fix soon

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

fixed and commit to the trunk

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

Committed to the Trunk

Changed in openobject-addons:
assignee: nobody → mga
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.