diff options
| author | Harshad Modi <hmo@tinyerp.com> | 2008-09-26 19:09:37 +0530 |
|---|---|---|
| committer | Harshad Modi <hmo@tinyerp.com> | 2008-09-26 19:09:37 +0530 |
| commit | 48d20d19a6f5593b4fd1965db00a79f9e04b97c5 (patch) | |
| tree | 3c3394512ec219207c7a3b02442026dcaa2582ca /addons | |
| parent | 52f675fa04b696a713fc55bd77a0834fce41b0d2 (diff) | |
fixed bug
bzr revid: hmo@tinyerp.com-20080926133937-6jvz54xmxphex1jl
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock/product.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/product.py b/addons/stock/product.py index a4bdd9af164..e9ed8b32944 100644 --- a/addons/stock/product.py +++ b/addons/stock/product.py @@ -89,7 +89,7 @@ class product_product(osv.osv): to_date=context.get('to_date',False) date_str=False if from_date and to_date: - date_str="date>='%s' and date<=%s"%(from_date,to_date) + date_str="date>='%s' and date<='%s'"%(from_date,to_date) elif from_date: date_str="date>='%s'"%(from_date) elif to_date: |
