Nehal Panchal (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-577884-nep 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-577884-nep/+merge/118952
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
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577884-nep/+merge/118952
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-577884-nep.
=== modified file 'hr_expense/report/expense.rml'
--- hr_expense/report/expense.rml 2011-12-21 09:08:11 +0000
+++ hr_expense/report/expense.rml 2012-08-09 13:25:16 +0000
@@ -231,7 +231,7 @@
<para style="terp_default_Right_9">[[ formatLang(line.unit_quantity) ]]</para>
</td>
<td>
- <para style="terp_default_Right_9">[[ formatLang(line.total_amount) ]] [[ o.currency_id.symbol ]] </para>
+ <para style="terp_default_Right_9">[[ formatLang(line.total_amount, currency_obj=o.company_id.currency_id) ]] </para>
</td>
</tr>
<tr>
@@ -277,7 +277,7 @@
<para style="terp_tblheader_Details">Total:</para>
</td>
<td>
- <para style="terp_tblheader_Details_Right">[[ formatLang(o.amount) ]] [[ o.currency_id.symbol ]]</para>
+ <para style="terp_tblheader_Details_Right">[[ formatLang(o.amount, currency_obj=o.company_id.currency_id) ]]</para>
</td>
</tr>
</blockTable>
_______________________________________________
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