Xavier ALT (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-573248-xal into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573248-xal/+merge/102450

Hi,

This fix the kanban view of Opportunity (crm.lead) displaying NaN for 
'planned_revenue' field when user language decimal separator if different than 
".".

Steps:
- Create a Opportunity with a planned revenu of 235,42.
- Switch to "French" language
- Go to Opportunity kanban view

Current: NaN is displayed
Expected: 235,42 should be displayed

Regards,
Xavier
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573248-xal/+merge/102450
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-573248-xal.
=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml	2012-01-31 13:36:57 +0000
+++ crm/crm_lead_view.xml	2012-04-18 07:53:27 +0000
@@ -300,7 +300,7 @@
                                     <td align="left" valign="middle" class="oe_kanban_title" tooltip="lead_details">
                                         <field name="partner_id"/>
                                         <t t-if="record.planned_revenue.raw_value">
-                                            - <t t-esc="Math.round(record.planned_revenue.value)"/>
+                                            - <t t-esc="record.planned_revenue.value"/>
                                             <field name="company_currency"/>
                                         </t>
                                     </td>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to