Merge lp:~openerp-dev/openobject-addons/6.1-opw-577884-nep into lp:openobject-addons/6.1

Proposed by Nehal Panchal (OpenERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577884-nep
Merge into: lp:openobject-addons/6.1
Diff against target: 21 lines (+2/-2)
1 file modified
hr_expense/report/expense.rml (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577884-nep
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Needs Fixing
Review via email: mp+118952@code.launchpad.net

Description of the change

Hello,

Steps:
1. Change the Symbol position in currency.
2. Open form view by selecting any record from Expenses list(menu:Human Resources/Expenses/Expenses) and print HR Expenses report.
You will get the currency symbol always after the amount.
This fixes the issue.

Thanks

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

sorry, .sxw too needs to be modified.

Thanks,
Naresh

review: Needs Fixing
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6939. By Nehal Panchal (OpenERP)

[FIX] hr_expense : Currency symbol position is not changed in HR Expense report as per currency(after/before) configuration

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_expense/report/expense.rml'
2--- hr_expense/report/expense.rml 2011-12-21 09:08:11 +0000
3+++ hr_expense/report/expense.rml 2012-08-09 13:25:16 +0000
4@@ -231,7 +231,7 @@
5 <para style="terp_default_Right_9">[[ formatLang(line.unit_quantity) ]]</para>
6 </td>
7 <td>
8- <para style="terp_default_Right_9">[[ formatLang(line.total_amount) ]] [[ o.currency_id.symbol ]] </para>
9+ <para style="terp_default_Right_9">[[ formatLang(line.total_amount, currency_obj=o.company_id.currency_id) ]] </para>
10 </td>
11 </tr>
12 <tr>
13@@ -277,7 +277,7 @@
14 <para style="terp_tblheader_Details">Total:</para>
15 </td>
16 <td>
17- <para style="terp_tblheader_Details_Right">[[ formatLang(o.amount) ]] [[ o.currency_id.symbol ]]</para>
18+ <para style="terp_tblheader_Details_Right">[[ formatLang(o.amount, currency_obj=o.company_id.currency_id) ]]</para>
19 </td>
20 </tr>
21 </blockTable>