[Erp5-dev] convertCurrency() question

Jacek Medrzycki jacekm at jmtronic264.dyndns.biz
Tue Dec 15 13:18:03 CET 2009


Hi.

There is a method in Products/ERP5/Documents/Currency.py:

  def convertCurrency(self, quantity, to_currency):
    if to_currency is self:
      return quantity
    return quantity

What is the purpose of the method? Should it be overwritten?

How one should carry currency conversion?


TIA.
Jacek




More information about the Erp5-dev mailing list