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')