add spreadsheet_dashboard_pos_cooperative & pos_dashboard_cooperative

This commit is contained in:
Luis 2026-06-05 19:55:00 +02:00
parent 86101218e9
commit 5247938b86
34 changed files with 7974 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Publishes spreadsheet-based dashboards for cooperative supermarkets
in Odoo's *Dashboards* menu, under a dedicated *Cooperative* group.
The dashboards consume the data prepared by ``pos_dashboard_cooperative``
(extended ``report.pos.order`` with member-at-date flag, category
hierarchy and time dimensions). They use Odoo's o-spreadsheet engine,
the same as Odoo Enterprise's official ``spreadsheet_dashboard_*``
modules.
Four dashboards ship out of the box:
* **POS Overview** — headline KPIs (Sales, Orders, Average ticket,
Margin) and monthly evolution.
* **POS Members** — members vs non-members comparison, monthly
evolution chart, TOP 50 buying members.
* **POS Categories** — members contribution KPIs and TOP 10 families,
subfamilies and products.
* **POS Sales by Time** — sales by day of the week and hour of the
day.
Each dashboard is a small hand-authored JSON file. They can be
redesigned visually inside o-spreadsheet (with ``spreadsheet_oca``
installed) and re-exported; see USAGE for the workflow.