mirror of
https://github.com/bringout/oca-ocb-report.git
synced 2026-04-22 14:42:08 +02:00
19.0 vanilla
This commit is contained in:
parent
62d197ac8b
commit
184bb0e321
667 changed files with 691406 additions and 239886 deletions
|
|
@ -2,6 +2,7 @@
|
|||
<odoo>
|
||||
<record id="ir_actions_dashboard_action" model="ir.actions.client">
|
||||
<field name="name">Dashboards</field>
|
||||
<field name="path">dashboards</field>
|
||||
<field name="tag">action_spreadsheet_dashboard</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -9,7 +10,7 @@
|
|||
id="spreadsheet_dashboard_menu_root"
|
||||
name="Dashboards"
|
||||
action="ir_actions_dashboard_action"
|
||||
web_icon="spreadsheet_dashboard,static/description/icon.svg"
|
||||
web_icon="spreadsheet_dashboard,static/description/icon.png"
|
||||
sequence="37"/>
|
||||
|
||||
<menuitem
|
||||
|
|
@ -28,7 +29,7 @@
|
|||
<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>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
|
|
|
|||
|
|
@ -5,12 +5,15 @@
|
|||
<field name="name">spreadsheet.dashboard.view.list</field>
|
||||
<field name="model">spreadsheet.dashboard</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree create="false" editable="bottom">
|
||||
<list 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="group_ids" widget="many2many_tags" required="1"/>
|
||||
<field name="company_ids" options="{'no_create': True}" widget="many2many_tags" groups="base.group_multi_company" placeholder="Visible to all"/>
|
||||
<field name="spreadsheet_binary_data" groups="base.group_no_one" widget="binary_spreadsheet" filename="spreadsheet_file_name" string="Data" />
|
||||
<field name="is_published" widget="boolean_toggle"/>
|
||||
<field name="dashboard_group_id" optional="hidden"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -18,10 +21,10 @@
|
|||
<field name="name">spreadsheet.dashboard.group.view.list</field>
|
||||
<field name="model">spreadsheet.dashboard.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Dashboards">
|
||||
<list string="Dashboards">
|
||||
<field name="sequence" widget="handle" groups="base.group_system"/>
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -38,7 +41,7 @@
|
|||
</div>
|
||||
<notebook>
|
||||
<page string="Spreadsheets" name="spreadsheets">
|
||||
<field name="dashboard_ids" context="{'tree_view_ref': 'spreadsheet_dashboard.spreadsheet_dashboard_view_list'}"/>
|
||||
<field name="dashboard_ids" context="{'list_view_ref': 'spreadsheet_dashboard.spreadsheet_dashboard_view_list'}"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
|
|
@ -46,4 +49,34 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<record id="spreadsheet_dashboard_view_form" model="ir.ui.view">
|
||||
<field name="name">spreadsheet.dashboard.view.form</field>
|
||||
<field name="model">spreadsheet.dashboard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="dashboard_group_id"/>
|
||||
<field name="company_ids" options="{'no_create': True}" widget="many2many_tags" groups="base.group_multi_company" placeholder="Visible to all"/>
|
||||
<field name="group_ids" widget="many2many_tags"/>
|
||||
<field name="spreadsheet_binary_data"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="spreadsheet_dashboard_view_kanban" model="ir.ui.view">
|
||||
<field name="name">spreadsheet.dashboard.kanban</field>
|
||||
<field name="model">spreadsheet.dashboard</field>
|
||||
<field name="arch" type="xml">
|
||||
<kanban class="o_kanban_mobile">
|
||||
<templates>
|
||||
<t t-name="card" class="d-flex flex-row align-items-center justify-content-between border">
|
||||
<field name="name"/>
|
||||
</t>
|
||||
</templates>
|
||||
</kanban>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue