add spreadsheet_dashboard_pos_cooperative & pos_dashboard_cooperative
This commit is contained in:
parent
86101218e9
commit
5247938b86
34 changed files with 7974 additions and 0 deletions
82
spreadsheet_dashboard_pos_cooperative/data/dashboards.xml
Normal file
82
spreadsheet_dashboard_pos_cooperative/data/dashboards.xml
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2026 Criptomart - License AGPL-3 -->
|
||||
<odoo>
|
||||
|
||||
<!--
|
||||
New dashboard group "Cooperative" sitting alongside the standard
|
||||
Odoo groups (Sales, Finance, HR, ...). Sequence 150 places it
|
||||
right after Sales (100) and before Finance (300).
|
||||
-->
|
||||
<record id="spreadsheet_dashboard_group_cooperative"
|
||||
model="spreadsheet.dashboard.group">
|
||||
<field name="name">PDV Supermercado</field>
|
||||
<field name="sequence">150</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
Section 1: high-level KPIs and monthly evolution for the whole
|
||||
store. The "headline" dashboard, intentionally compact so it
|
||||
loads first.
|
||||
-->
|
||||
<record id="spreadsheet_dashboard_pos_overview"
|
||||
model="spreadsheet.dashboard">
|
||||
<field name="name">Ventas</field>
|
||||
<field name="data" type="base64"
|
||||
file="spreadsheet_dashboard_pos_cooperative/data/files/overview_dashboard.json"/>
|
||||
<field name="dashboard_group_id"
|
||||
ref="spreadsheet_dashboard_group_cooperative"/>
|
||||
<field name="group_ids"
|
||||
eval="[Command.link(ref('point_of_sale.group_pos_manager'))]"/>
|
||||
<field name="sequence">100</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
Section 4 of the BI brief: sales distribution across days of the
|
||||
week and hours of the day. Two line charts.
|
||||
-->
|
||||
<record id="spreadsheet_dashboard_pos_time"
|
||||
model="spreadsheet.dashboard">
|
||||
<field name="name">Ventas horas y días</field>
|
||||
<field name="data" type="base64"
|
||||
file="spreadsheet_dashboard_pos_cooperative/data/files/time_dashboard.json"/>
|
||||
<field name="dashboard_group_id"
|
||||
ref="spreadsheet_dashboard_group_cooperative"/>
|
||||
<field name="group_ids"
|
||||
eval="[Command.link(ref('point_of_sale.group_pos_manager'))]"/>
|
||||
<field name="sequence">400</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
Section 3 of the BI brief: TOP families / subfamilies / products,
|
||||
plus members contribution KPIs (purchase share, penetration).
|
||||
-->
|
||||
<record id="spreadsheet_dashboard_pos_categories"
|
||||
model="spreadsheet.dashboard">
|
||||
<field name="name">Categorías</field>
|
||||
<field name="data" type="base64"
|
||||
file="spreadsheet_dashboard_pos_cooperative/data/files/categories_dashboard.json"/>
|
||||
<field name="dashboard_group_id"
|
||||
ref="spreadsheet_dashboard_group_cooperative"/>
|
||||
<field name="group_ids"
|
||||
eval="[Command.link(ref('point_of_sale.group_pos_manager'))]"/>
|
||||
<field name="sequence">300</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
Section 2 of the BI brief: detailed comparison between members
|
||||
and non-members. KPIs per group, monthly evolution chart and a
|
||||
TOP 50 of the best buying members.
|
||||
-->
|
||||
<record id="spreadsheet_dashboard_pos_members"
|
||||
model="spreadsheet.dashboard">
|
||||
<field name="name">Socias</field>
|
||||
<field name="data" type="base64"
|
||||
file="spreadsheet_dashboard_pos_cooperative/data/files/members_dashboard.json"/>
|
||||
<field name="dashboard_group_id"
|
||||
ref="spreadsheet_dashboard_group_cooperative"/>
|
||||
<field name="group_ids"
|
||||
eval="[Command.link(ref('point_of_sale.group_pos_manager'))]"/>
|
||||
<field name="sequence">200</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue