Better docstring explaination for context date usage in compute for issue1745

This commit is contained in:
Cédric Krier
2011-03-06 04:36:50 +01:00
parent 3692ba7272
commit eaca3deaba
+2 -1
View File
@@ -182,7 +182,8 @@ class Currency(ModelSQL, ModelView):
'''
Take a currency and an amount
Return the amount to the new currency
Use the rate of the date of the context or the current date
Use the rate of the date of the context or the current date if ids are
given
'''
date_obj = self.pool.get('ir.date')
lang_obj = self.pool.get('ir.lang')