projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40bd83
)
[FIX] sale_report : Sale Manager Analysis Report Fixed (Maintenance Case : 5689)
author
Ravi Gohil (Open ERP)
<rgo@tinyerp.com>
Fri, 20 May 2011 11:48:37 +0000
(17:18 +0530)
committer
Ravi Gohil (Open ERP)
<rgo@tinyerp.com>
Fri, 20 May 2011 11:48:37 +0000
(17:18 +0530)
bzr revid: rgo@tinyerp.com-
20110520114837
-e076ezuzheo4wrs4
addons/sale/report/sale_report.py
patch
|
blob
|
history
diff --git
a/addons/sale/report/sale_report.py
b/addons/sale/report/sale_report.py
index
aaaec22
..
3e2401b
100644
(file)
--- a/
addons/sale/report/sale_report.py
+++ b/
addons/sale/report/sale_report.py
@@
-91,7
+91,7
@@
class sale_report(osv.osv):
select l.id as id,
l.product_id as product_id,
(case when u.uom_type not in ('reference') then
- (select name from product_uom where uom_type='reference' and category_id=u.category_id)
+ (select name from product_uom where uom_type='reference' and category_id=u.category_id and active LIMIT 1)
else
u.name
end) as uom_name,