odoo/addons/sale_stock
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
..
i18n Launchpad automatic translations update. 2013-11-04 06:02:49 +00:00
process [REF] sale_stock: removing of dead code and correction of documentation (process) linked to the invoicing after delivery of a sale order 2013-04-04 17:14:51 +02:00
report [FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause 2013-11-05 11:30:11 +01:00
security [REF] sale_stock, sale: reorganized ir.model.access.csv files 2012-09-19 11:00:41 +02:00
test [IMP] various changes 2013-05-28 15:15:59 +02:00
__init__.py [REM]: move sale_stock wizard into sale wizard 2012-09-09 17:49:03 +05:30
__openerp__.py [IMP]sale_stock:make visible menu Deliveries to Invoice while group_invoice_deli_orders field is true 2012-11-22 14:52:14 +05:30
company.py [FIX] sale_stock,purchase: review help string + remove incorrect fallback to local TZ 2013-04-04 11:21:34 +02:00
company_view.xml [MERGE]: Merged with lp:openobject-addons 2012-08-14 21:40:00 +05:30
res_config.py [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community 2012-12-21 17:48:08 +01:00
res_config_view.xml [MRG] merge with lp:openobject-addons 2012-10-12 11:21:52 +05:30
sale_stock.py [MERGE] backport of revision 8862 2013-08-23 11:22:31 +02:00
sale_stock_data.xml [FIX] sale: put back the button 'View Invoice' on sale orders (removed for no reason) + reorganized files to reduce the diff with trunk 2012-09-20 15:17:11 +02:00
sale_stock_demo.xml [IMP]: MOVE PROCUREMENT CHANGES INTO PROCUREMENT.. 2012-09-09 15:41:56 +05:30
sale_stock_view.xml [FIX] all: change confusing labels on Cancel buttons in form views 2013-03-04 19:44:31 +01:00
sale_stock_workflow.xml [MERGE]: Merged with lp:openobject-addons 2012-09-17 10:37:38 +05:30
stock.py [FIX] sale_stock: when creating invoices after delivery, use invoicing contact from SO + update test (reported by Joel Grand-Guillaume while reviewing bug 1160365) 2013-04-11 16:56:36 +02:00
stock_view.xml [MERGE]: Merged with lp:openobject-addons 2012-09-19 15:08:42 +05:30