[FIX] product: if 'date' is passed as False in context of price_get_multi(), it should be set to current date and not False (Maintenance Case: 592247)

lp bug: https://launchpad.net/bugs/1175983 fixed

bzr revid: rgo@tinyerp.com-20130517063145-va41paqq3pw38x51
This commit is contained in:
Alexis de Lattre
2013-05-17 12:01:45 +05:30
committed by Ravi Gohil (OpenERP)
parent f97439e0ce
commit 1c91bb4b77
+1 -1
View File
@@ -152,7 +152,7 @@ class product_pricelist(osv.osv):
context = {}
date = time.strftime('%Y-%m-%d')
if 'date' in context:
if 'date' in context and context['date']:
date = context['date']
currency_obj = self.pool.get('res.currency')