odoo/addons/sale/report
Olivier Dony 0f7099bb30 [FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause
Similarly to the recent fixes in Purchase Analysis,
the Sales Analysis view must not group on the quantity
field. It is one of the columns that must be aggregated,
not used to fold PO lines into the same
result row.
The line count was also incorrect because of this, and
had to be corrected to actually count() the underlying
SO lines.

In addition, the JOINs were done in the wrong order,
which could cause problems (e.g. if an empty SO ever
landed in the database, all the SO line columns
would be empty in the JOIN, and cause errors)

bzr revid: odo@openerp.com-20131105103011-vkix07lsb6q3y9fd
2013-11-05 11:30:11 +01:00
..
__init__.py [FIX] unmutable default in the remaining modules 2012-03-05 19:40:03 +01:00
sale_order.py [MERGE] sale: when printing the sale order report, do not print the discount column if user doesn't belong to the group that enables to see it 2013-03-18 14:56:54 +01:00
sale_order.rml [FIX] sale: removed fontName from sale order report in order to allow a default style definition in company (to allow chinese characters for example, with Sun-ExtA font) 2013-05-27 18:51:33 +02:00
sale_report.py [FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause 2013-11-05 11:30:11 +01:00
sale_report_view.xml [REMOVE] remove create button form all posgress report. 2012-09-27 14:08:39 +05:30