openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #19956
[Bug 1090503] Re: Currency symbol hardcoded in Reports (ver 7)
Hello Ray,
This issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-1090503-cha with following details
Revision no : 8376
Revision id : cha@xxxxxxxxxxx-20121218101941-peglkxxt4wrurq2x
Thanks,
Ajay Chauhan
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1090503-cha
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1090503
Title:
Currency symbol hardcoded in Reports (ver 7)
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Revision 8075 of addons (version 7).
The following RML files hardcode currency symbol printing to the right
of the amount, instead of using the format_lang function with the
currency_obj=company.currency_id argument:
FILE: account_followup/report/account_followup_print.rml
LINE: 215
<para style="terp_default_Right_9">[[formatLang(reduce(lambda x,y: x+y['balance'], cur_lines['line'], 0.00)) ]]
[[ line['currency_id'] ]] </para>
FILE: lunch/report/order.rml
LINE: 140
<para style="terp_default_9_right_bold"><u>[[ formatLang(get_total(o,objects)) ]] [[ (o.company_id and o.comp
any_id.currency_id and o.company_id.currency_id.symbol) or '' ]]</u></para>
LINE: 158
<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>
LINE: 175
<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>
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1090503/+subscriptions
References