[ADD] spreadsheet_dashboard_hr_timesheet: add tasks dashboard

Part-of: odoo/odoo#100101
This commit is contained in:
Lucas Lefèvre
2022-09-14 16:18:01 +02:00
parent a60474d380
commit 087e6ef7e6
4 changed files with 1571 additions and 0 deletions
@@ -0,0 +1 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
@@ -0,0 +1,17 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': "Spreadsheet dashboard for time sheets",
'version': '1.0',
'category': 'Hidden',
'summary': 'Spreadsheet',
'description': 'Spreadsheet',
'depends': ['spreadsheet_dashboard', 'hr_timesheet'],
'data': [
"data/dashboards.xml",
],
'demo': [],
'installable': True,
'auto_install': ['hr_timesheet'],
'license': 'LGPL-3',
'assets': {}
}
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="spreadsheet_dashboard_tasks" model="spreadsheet.dashboard">
<field name="name">Tasks</field>
<field name="data" type="base64" file="spreadsheet_dashboard_hr_timesheet/data/files/tasks_dashboard.json"/>
<field name="dashboard_group_id" ref="spreadsheet_dashboard.spreadsheet_dashboard_group_services"/>
<field name="group_ids" eval="[Command.link(ref('hr_timesheet.group_hr_timesheet_approver'))]"/>
<field name="sequence">80</field>
</record>
</odoo>
File diff suppressed because it is too large Load Diff