Better docstring explaination for context date usage in compute for issue1745
This commit is contained in:
+2
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user