[FIX] spreadsheet_dashboard_account: count individual invoices
In the Invoicing dashboard, the "Average Invoice" scorecoard displays the wrong amount of invoices. It displays the number of "account.invoice.report" lines. This commit fixes the issue by displaying the count_unique measure of "move_id" task 3180524 closes odoo/odoo#120322 X-original-commit: 6232896fe06640de6d461e645811673fe27481aa Signed-off-by: Rémi Rahir (rar) <rar@odoo.com> Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
This commit is contained in:
@@ -1389,7 +1389,7 @@
|
||||
},
|
||||
"B3": {
|
||||
"format": 1,
|
||||
"content": "=ODOO.PIVOT(6,\"__count\")"
|
||||
"content": "=ODOO.PIVOT(6,\"move_id\")"
|
||||
},
|
||||
"B4": {
|
||||
"content": "=YEAR(TODAY())"
|
||||
@@ -1864,7 +1864,7 @@
|
||||
"id": "6",
|
||||
"measures": [
|
||||
{
|
||||
"field": "__count"
|
||||
"field": "move_id"
|
||||
},
|
||||
{
|
||||
"field": "price_subtotal"
|
||||
|
||||
Reference in New Issue
Block a user