[ADD] spreadsheet_dashboard_purchase_stock: add puchase dashboard

Part-of: odoo/odoo#100343
This commit is contained in:
Lucas Lefèvre
2022-09-16 14:25:58 +02:00
parent 3ed96f292e
commit 0f89912d5b
5 changed files with 2737 additions and 0 deletions
@@ -26,4 +26,9 @@
<field name="sequence">80</field>
</record>
<record id="spreadsheet_dashboard_group_logistics" model="spreadsheet.dashboard.group">
<field name="name">Logistics</field>
<field name="sequence">100</field>
</record>
</odoo>
@@ -0,0 +1 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': "Spreadsheet dashboard for purchases",
'category': 'Hidden',
'summary': 'Spreadsheet',
'description': 'Spreadsheet',
'depends': ['spreadsheet_dashboard', 'purchase_stock'],
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['purchase_stock'],
'license': 'LGPL-3',
'assets': {}
}
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="spreadsheet_dashboard_purchase" model="spreadsheet.dashboard">
<field name="name">Purchase</field>
<field name="data" type="base64" file="spreadsheet_dashboard_purchase_stock/data/files/purchase_dashboard.json"/>
<field name="dashboard_group_id" ref="spreadsheet_dashboard.spreadsheet_dashboard_group_logistics"/>
<field name="group_ids" eval="[Command.link(ref('stock.group_stock_manager'))]"/>
<field name="sequence">70</field>
</record>
</odoo>
File diff suppressed because it is too large Load Diff