From 47395c6e51ec82283d3cd46e386befc256d8a657 Mon Sep 17 00:00:00 2001 From: Mathieu Duckerts-Antoine Date: Thu, 5 Apr 2018 17:08:26 +0200 Subject: [IMP] web: allow using many2one as measure in pivot view With this commit, we add the possibility of using many2ones as measure. The way a many2one is aggregated is by using the count distinct operator. Some care had to be done to gracefully support the situation when a pivot view is grouped by a m2o field F, and the same field F is used as a measure. --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index ccd98c10962..96f80c96eb2 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -527,7 +527,7 @@