Skip to Content
Catalog / PUR · Purchase / AC Purchase Dashboard
AC Purchase Dashboard
ac_purchase_dashboard

AC Purchase Dashboard

Turn purchase orders into live KPIs, vendor and spend charts with one-click drill-down

v19.0.1.0.0 Abdelfatah Mohammad (AlshayebCo) Purchase

Client-action OWL dashboard. models/purchase_order.py inherits purchase order and exposes @api model RPC methods get_dashboard_filters and get_dashboard_data, which build a domain (_build_dashboard_domain), compute KPIs (_compute_purchase_kpis), and aggregate top vendors/buyers/products and monthly trends; helper methods _sum_amount_by_partner/_user/_product keep per-entity ordering aligned between the main and compare periods. The frontend PurchaseDashboard component extends BaseDashboard from ac_base_dashboard, registered as the 'purchase_dashboard' client action and reached via an ir.actions.client. No new persistent model is defined; ir.model.access.csv is intentionally header-only.

Overview

Procurement teams usually have to dig through purchase order lists to understand RFQ volume, pending approvals, spend, and vendor performance. AC Purchase Dashboard replaces that with a single interactive screen that aggregates purchase order data into KPI cards and visual charts in real time. Buyers and managers filter by vendor, buyer, date range, order state, or billing status, compare two periods side by side, and click any chart segment to jump straight to the matching filtered order list.

Key Features

  • KPI cards for RFQs, orders awaiting approval, confirmed purchase orders, and this-month totals showing both order count and amount.
  • Status breakdown across all purchase states: draft RFQ, sent, to approve, confirmed, locked, and cancelled.
  • Order status and invoice (billing) status doughnut charts showing where orders sit in the procure-to-pay flow.
  • Six-month trend chart of order volume and total purchase amount.
  • Top vendors, top buyers, and top products ranked by spend, with quantity totals for products.
  • Period comparison: pick a compare date range to see percentage deltas on KPI cards and a second faded series on every chart.
  • Dynamic filters by vendor, buyer, date range with quick presets, order state, and invoice status, plus a one-click clear.
  • Click-through navigation from any KPI or chart element to the matching filtered purchase order list view.
  • Company-currency-aware amounts and built-in dark mode support inherited from the shared base dashboard.

Technical Details

Technical Name ac_purchase_dashboard
Version 19.0.1.0.0
License OPL-1
Domain PUR · Purchase

Menu Structure

Purchase Dashboard

Security

Access is gated by a dedicated 'Purchase Dashboard Access' group; only users in that group see the menu and can open the dashboard. The module adds no custom-model access rows because it only reads existing purchase.order data through server methods.

Purchase Dashboard Access (group_purchase_dashboard_user) — under the Dashboard privilege in the Supply Chain category; admin is added by default

Dependencies