projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
f97439e
1c91bb4
)
[FIX] product: if 'date' is passed as False in context of price_get_multi(), it shoul...
author
Alexis de Lattre
<>
Fri, 17 May 2013 06:57:44 +0000
(12:27 +0530)
committer
Ravi Gohil (OpenERP)
<rgo@tinyerp.com>
Fri, 17 May 2013 06:57:44 +0000
(12:27 +0530)
lp bug: https://launchpad.net/bugs/1175983 fixed
bzr revid: rgo@tinyerp.com-
20130517065744
-il8sfm61rlcu9h2f
1
2
addons/product/pricelist.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
addons/product/pricelist.py
index
4b59856
,
98a6239
..
0e25be6
---
1
/
addons/product/pricelist.py
---
2
/
addons/product/pricelist.py
+++ b/
addons/product/pricelist.py
@@@
-151,8
-151,8
+151,8
@@@
class product_pricelist(osv.osv)
if context is None:
context = {}
-- date = time.strftime('%Y-%m-%d')
- if 'date' in 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')