0f7099bb30
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 |
||
---|---|---|
.. | ||
edi | ||
i18n | ||
process | ||
report | ||
security | ||
static/src/img | ||
test | ||
wizard | ||
__init__.py | ||
__openerp__.py | ||
board_sale_view.xml | ||
res_config.py | ||
res_config_view.xml | ||
res_partner.py | ||
res_partner_view.xml | ||
sale.py | ||
sale_data.xml | ||
sale_demo.xml | ||
sale_report.xml | ||
sale_sequence.xml | ||
sale_unit_test.xml | ||
sale_view.xml | ||
sale_workflow.xml |