Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2019-Today: GRAP (<http://www.grap.coop/>)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<menuitem
id="menu_module_analysis"
name="Analysis"
parent="base.menu_management"
sequence="100"
groups="base.group_no_one"
/>
<menuitem
id="menu_module_analysis_settings"
name="Settings"
parent="menu_module_analysis"
sequence="10"
/>
<menuitem
id="menu_module_analysis_reporting"
name="Reporting"
parent="menu_module_analysis"
sequence="20"
/>
</odoo>

View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2019-Today: GRAP (<http://www.grap.coop/>)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_ir_module_author_form" model="ir.ui.view">
<field name="model">ir.module.author</field>
<field name="arch" type="xml">
<form>
<sheet>
<div class="oe_title">
<div class="oe_edit_only">
<label for="name" />
</div>
<h1>
<field name="name" />
</h1>
</div>
<group>
<field name="installed_module_qty" />
</group>
</sheet>
</form>
</field>
</record>
<record id="view_ir_module_author_tree" model="ir.ui.view">
<field name="model">ir.module.author</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="installed_module_qty" />
</tree>
</field>
</record>
<record id="action_ir_module_author" model="ir.actions.act_window">
<field name="name">Modules Authors</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.module.author</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_module_authors"
parent="menu_module_analysis_settings"
sequence="1"
action="action_ir_module_author"
groups="base.group_no_one"
/>
</odoo>

View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2019-Today: GRAP (<http://www.grap.coop/>)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_ir_module_module_form" model="ir.ui.view">
<field name="model">ir.module.module</field>
<field name="inherit_id" ref="base.module_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='state']/.." position="after">
<button
name="button_analyse_code"
states="installed"
string="Refresh Code Analysis"
type="object"
class="btn btn-primary"
/>
<group string="Code Size" col="4">
<field name="python_code_qty" />
<field name="xml_code_qty" />
<field name="js_code_qty" />
<field name="css_code_qty" />
<field name="scss_code_qty" />
</group>
<group string="Type and Authors">
<field name="author_ids" widget="many2many_tags" />
<field name="module_type_id" />
</group>
</xpath>
</field>
</record>
<record id="view_ir_module_module_pivot" model="ir.ui.view">
<field name="model">ir.module.module</field>
<field name="arch" type="xml">
<pivot>
<field name="module_type_id" type="row" />
<field name="python_code_qty" type="measure" />
<field name="xml_code_qty" type="measure" />
<field name="js_code_qty" type="measure" />
<field name="css_code_qty" type="measure" />
<field name="scss_code_qty" type="measure" />
</pivot>
</field>
</record>
<record id="view_ir_module_module_graph" model="ir.ui.view">
<field name="model">ir.module.module</field>
<field name="arch" type="xml">
<graph type="pie">
<field name="module_type_id" type="row" />
</graph>
</field>
</record>
<record id="action_ir_module_module_by_type" model="ir.actions.act_window">
<field name="name">Installed Modules by Types</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.module.module</field>
<field name="domain">[('state', '=', 'installed')]</field>
<field name="view_mode">pivot,graph</field>
</record>
<menuitem
id="menu_module_by_type"
parent="menu_module_analysis_reporting"
sequence="5"
action="action_ir_module_module_by_type"
groups="base.group_no_one"
/>
</odoo>

View file

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2019-Today: GRAP (<http://www.grap.coop/>)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_ir_module_type_form" model="ir.ui.view">
<field name="model">ir.module.type</field>
<field name="arch" type="xml">
<form>
<sheet>
<div class="oe_title">
<div class="oe_edit_only">
<label for="name" />
</div>
<h1>
<field name="name" />
</h1>
</div>
<group>
</group>
</sheet>
</form>
</field>
</record>
<record id="view_ir_module_type_tree" model="ir.ui.view">
<field name="model">ir.module.type</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="installed_module_qty" />
</tree>
</field>
</record>
<record id="action_ir_module_type" model="ir.actions.act_window">
<field name="name">Modules Types</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.module.type</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_module_types"
parent="menu_module_analysis_settings"
sequence="2"
action="action_ir_module_type"
groups="base.group_no_one"
/>
</odoo>

View file

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2019-Today: GRAP (<http://www.grap.coop/>)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_ir_module_type_rule_tree" model="ir.ui.view">
<field name="model">ir.module.type.rule</field>
<field name="arch" type="xml">
<tree editable="bottom">
<field name="sequence" widget="handle" />
<field name="module_type_id" />
<field name="module_domain" />
</tree>
</field>
</record>
<record id="action_ir_module_type_rule" model="ir.actions.act_window">
<field name="name">Modules Types Rules</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.module.type.rule</field>
<field name="view_mode">tree</field>
</record>
<menuitem
id="menu_module_type_rules"
parent="menu_module_analysis_settings"
sequence="3"
action="action_ir_module_type_rule"
groups="base.group_no_one"
/>
</odoo>