From eaca3deaba8ae638054ae831d91b0cf078aaefca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 6 Mar 2011 04:36:50 +0100 Subject: [PATCH] Better docstring explaination for context date usage in compute for issue1745 --- currency.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/currency.py b/currency.py index db8362b668..fbe9d7af7a 100644 --- a/currency.py +++ b/currency.py @@ -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')