odoo/enterprise#77322

Created by Logistics, William Henrotin (whe)
Closed
label
odoo-dev:18.0-v16_fix_spreadsheet_dashboard_purchase_stock-JRgF-fw
head
876b39ee216f5ebdfd248df544e83d2d12ec0aba
odoo/odoo odoo/enterprise
16.0 #191985
17.0 #192850
saas-17.2 #193622
saas-17.4 #193640
18.0 #193749 #77322

[FIX] spreadsheet_dashboard_purchase*: wrong scoreboard data

  • = stock

  • PROBLEM: when viewing purchase or vendor dashboard (under logistic section) , viewing the scoreboard for purchased or order it calculate all record from purchase.report but when clicking on it, redirect to view of 'purchase order' only which is wrong compare to the number display on the scoreboard

  • SOLUTION: This commit fix by edit the domain of related pivot which the scoreboard use to display data to the domain having state in either Purchase or Done

closes odoo/odoo#193640

X-original-commit: odoo/odoo@f062138