summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-10-25 12:36:26 +0200
committerOlivier Dony <odo@openerp.com>2013-10-25 12:36:26 +0200
commit16326661012b81ee9465915ad4c2e7b2e8dfa854 (patch)
tree4fa17c1ce5b488fc15c32d45d32ec0c8bdb359ec /addons/analytic_user_function/analytic_user_function_view.xml
parent8bc457816f02200f6338fd6578b952b8c7dec52c (diff)
[FIX] stock: move analysis report incorrectly merges multiple lines with same picking, product and qty
This error probably stems from the useless complexity of the SQL view declaration and the double GROUP BY levels. The patch rewrites the view query with a single GROUP BY level and proper aggregation levels, but the core part of the patch is to replace the outer `group by product_qty` with a `sum(product_qty)`. Some columns were also mentioned twice in the same GROUP BY clause, for some reason. bzr revid: odo@openerp.com-20131025103626-7l78kdjjr7c2wesb
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions