[Erp5-dev] convertCurrency() question

Jean-Paul Smets jp at nexedi.com
Tue Dec 15 13:32:05 CET 2009


Hi,

Please have a look at erp5_accounting business template. You will find 
the answer there.
(sorry, no time to provide a longer reply).

Regards,

JPS.


Jacek Medrzycki wrote:
> 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
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev
>   


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 29 02 44 25
ERP5 Enterprise: Open Source ERP/CRM for Mission Critical Applications
http://www.erp5.com
TioLive SaaS: run your business online, with more freedom
http://www.tiolive.com
Nexedi: Consulting and Development of Free / Open Source Software 
http://www.nexedi.com




More information about the Erp5-dev mailing list