Merge lp:~openerp-dev/openobject-addons/trunk-bug-1090503-cha into lp:openobject-addons

Proposed by Ajay Chauhan(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1090503-cha
Merge into: lp:openobject-addons
Diff against target: 30 lines (+3/-3)
1 file modified
lunch/report/order.rml (+3/-3)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1090503-cha
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+140382@code.launchpad.net

Description of the change

Hello,

 I have solved https://bugs.launchpad.net/openobject-addons/+bug/1090503
   Currency symbol hardcoded in Reports (ver 7) .

Thanks,
Ajay Chauhan

To post a comment you must log in.

Unmerged revisions

8376. By Ajay Chauhan(OpenERP)

[FIX] lunch: solved an issue of position of currency symbol in report

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lunch/report/order.rml'
2--- lunch/report/order.rml 2012-11-29 22:26:45 +0000
3+++ lunch/report/order.rml 2012-12-18 10:23:21 +0000
4@@ -137,7 +137,7 @@
5 </para>
6 </td>
7 <td>
8- <para style="terp_default_9_right_bold"><u>[[ formatLang(get_total(o,objects)) ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]]</u></para>
9+ <para style="terp_default_9_right_bold"><u>[[ formatLang(get_total(o,objects), currency_obj=o.company_id.currency_id) ]]</u></para>
10 </td>
11 </tr>
12 </blockTable>
13@@ -155,7 +155,7 @@
14 <para style="terp_default_9">[[ lines.note]]</para>
15 </td>
16 <td>
17- <para style="terp_default_9_right">[[ lines.price ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]]</para>
18+ <para style="terp_default_9_right">[[ formatLang(lines.price, currency_obj=o.company_id.currency_id) ]]</para>
19 </td>
20 </tr>
21 </blockTable>
22@@ -172,7 +172,7 @@
23 <para style="terp_tbl_detail_header">Total :</para>
24 </td>
25 <td>
26- <para style="terp_default_9_right_bold">[[ formatLang(get_nettotal()) ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]]</para>
27+ <para style="terp_default_9_right_bold">[[ formatLang(get_nettotal(), currency_obj=o.company_id.currency_id) ]]</para>
28 </td>
29 </tr>
30 </blockTable>

Subscribers

People subscribed via source and target branches

to all changes: