mirror of
https://github.com/bringout/oca-ocb-report.git
synced 2026-04-22 07:22:08 +02:00
Initial commit: Report packages
This commit is contained in:
commit
bc5e1e9efa
604 changed files with 474102 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="ir_actions_dashboard_action" model="ir.actions.client">
|
||||
<field name="name">Dashboards</field>
|
||||
<field name="tag">action_spreadsheet_dashboard</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="spreadsheet_dashboard_menu_root"
|
||||
name="Dashboards"
|
||||
action="ir_actions_dashboard_action"
|
||||
web_icon="spreadsheet_dashboard,static/description/icon.svg"
|
||||
sequence="37"/>
|
||||
|
||||
<menuitem
|
||||
id="spreadsheet_dashboard_menu_dashboard"
|
||||
name="Dashboards"
|
||||
action="ir_actions_dashboard_action"
|
||||
parent="spreadsheet_dashboard_menu_root"
|
||||
sequence="1"/>
|
||||
|
||||
<menuitem
|
||||
id="spreadsheet_dashboard_menu_configuration"
|
||||
name="Configuration"
|
||||
parent="spreadsheet_dashboard_menu_root"
|
||||
sequence="150"/>
|
||||
|
||||
<record id="spreadsheet_dashboard_action_configuration_dashboards" model="ir.actions.act_window">
|
||||
<field name="name">Dashboards</field>
|
||||
<field name="res_model">spreadsheet.dashboard.group</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="spreadsheet_dashboard_menu_configuration_dashboards"
|
||||
name="Dashboards"
|
||||
parent="spreadsheet_dashboard_menu_configuration"
|
||||
action="spreadsheet_dashboard_action_configuration_dashboards"
|
||||
sequence="10"/>
|
||||
|
||||
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="spreadsheet_dashboard_view_list" model="ir.ui.view">
|
||||
<field name="name">spreadsheet.dashboard.view.list</field>
|
||||
<field name="model">spreadsheet.dashboard</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree create="false" editable="bottom">
|
||||
<field name="sequence" widget="handle" groups="base.group_system"/>
|
||||
<field name="name"/>
|
||||
<field name="group_ids" widget="many2many_tags"/>
|
||||
<field name="dashboard_group_id" optional="hidden"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="spreadsheet_dashboard_container_view_list" model="ir.ui.view">
|
||||
<field name="name">spreadsheet.dashboard.group.view.list</field>
|
||||
<field name="model">spreadsheet.dashboard.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Dashboards">
|
||||
<field name="sequence" widget="handle" groups="base.group_system"/>
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="spreadsheet_dashboard_container_view_form" model="ir.ui.view">
|
||||
<field name="name">spreadsheet.dashboard.group.view.form</field>
|
||||
<field name="model">spreadsheet.dashboard.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<field name="name"/>
|
||||
</h1>
|
||||
</div>
|
||||
<notebook>
|
||||
<page string="Spreadsheets" name="spreadsheets">
|
||||
<field name="dashboard_ids" context="{'tree_view_ref': 'spreadsheet_dashboard.spreadsheet_dashboard_view_list'}"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue