diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-11-22 14:52:10 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-11-22 15:42:02 +0000 |
| commit | 7dcab8a08cefb32b90d5b82078cd770726d55b86 (patch) | |
| tree | 9bd28c2645622ddc9081ae0e4b76d2defdd6cb5b /addons | |
| parent | 600d0707aea82c148b0aadad66bf37fc0865c917 (diff) | |
[FIX] point_of_sale: pos order -> count of order
In the pivot view of report.pos.order that is a view mainly over
pos.order, the "Count" measure is a little rubish giving more or less
the number of different products in the grouped order lines.
With this changeset, we have the field "Order" as measure that allow us
to know the number of orders a grouping is corresponding to.
opw-2127275
closes #40723
closes odoo/odoo#40804
X-original-commit: 431114d4f574d0fe9df745a7696f73f941c42ad3
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/point_of_sale/views/pos_order_report_view.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/point_of_sale/views/pos_order_report_view.xml b/addons/point_of_sale/views/pos_order_report_view.xml index 85deb30f477..7cd83e34c70 100644 --- a/addons/point_of_sale/views/pos_order_report_view.xml +++ b/addons/point_of_sale/views/pos_order_report_view.xml @@ -7,6 +7,7 @@ <pivot string="Point of Sale Analysis" disable_linking="True"> <field name="product_categ_id" type="row"/> <field name="date" interval="month" type="col"/> + <field name="order_id" type="measure"/> <field name="product_qty" type="measure"/> <field name="price_total" type="measure"/> </pivot> |
