← Back to team overview

openerp-india team mailing list archive

[Bug 1090503] Re: Currency symbol hardcoded in Reports (ver 7)

 

+1 Ray!

Dollar signs in the U.S. are normally written before an amount, and the
cents sign after an amount. In some parts of the world (for ex. Québec)
the dollar sign is written afterwards, however.

Thanks.

-- 
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):
  Incomplete

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