[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:
committed by
Ravi Gohil (OpenERP)
parent
f97439e0ce
commit
1c91bb4b77
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user