From 1c91bb4b7741a8488842dfae6edca5c369e46ca6 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre <> Date: Fri, 17 May 2013 12:01:45 +0530 Subject: [PATCH] [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 --- addons/product/pricelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 4b59856b6d8..98a62399a18 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -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')