odoo/addons/sale_stock/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 [ADD]: Add dependency 2012-07-27 02:26:59 +05:30
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 [MERGE] remove account_coda and other warnings. 2012-10-11 18:38:51 +05:30