projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
fd8add3
)
[FIX] product: if 'date' is passed as False in context of price_get_multi(), it shoul...
author
Alexis de Lattre
<>
Fri, 17 May 2013 07:02:10 +0000
(12:32 +0530)
committer
Ravi Gohil (OpenERP)
<rgo@tinyerp.com>
Fri, 17 May 2013 07:02:10 +0000
(12:32 +0530)
lp bug: https://launchpad.net/bugs/1175983 fixed
bzr revid: rgo@tinyerp.com-
20130517070210
-0dno7syscybo0h7j
addons/product/pricelist.py
patch
|
blob
|
history
diff --git
a/addons/product/pricelist.py
b/addons/product/pricelist.py
index
0e25be6
..
271c2b7
100644
(file)
--- a/
addons/product/pricelist.py
+++ b/
addons/product/pricelist.py
@@
-152,8
+152,6
@@
class product_pricelist(osv.osv):
context = {}
date = context.get('date') or time.strftime('%Y-%m-%d')
- if 'date' in context and context['date']:
- date = context['date']
currency_obj = self.pool.get('res.currency')
product_obj = self.pool.get('product.product')