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,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Moduon Team S.L.
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
<record id="inherit_crm_lead_view_form_crm_project_task" model="ir.ui.view">
<field name="name">crm.lead.view.form.inherit.crm.project.task</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_lead_view_form" />
<field name="arch" type="xml">
<xpath expr="header" position="inside">
<button
string="Create Task"
name="%(wizard_crm_create_task_action)d"
type="action"
class="oe_highlight"
context="{'default_task_name': name}"
attrs="{'invisible': ['|', ('active','=',False), ('task_count', '!=', 0)]}"
/>
</xpath>
<xpath expr="//div[hasclass('oe_button_box')]" position="inside">
<button
name="action_tasks"
type="object"
class="oe_stat_button"
icon="fa-tasks"
>
<field string="Task(s)" name="task_count" widget="statinfo" />
</button>
</xpath>
</field>
</record>
</odoo>

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Moduon Team S.L.
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
<record id="view_task_form2_inherit_crm_project_task" model="ir.ui.view">
<field name="name">project.task.form.inherit</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2" />
<field name="arch" type="xml">
<xpath expr="//page[@name='extra_info']" position="inside">
<group name="crm" string="Lead/Opportunity">
<field name="lead_id" />
</group>
</xpath>
</field>
</record>
</odoo>

View file

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Moduon Team S.L.
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field
name="name"
>res.config.settings.view.form.inherit.crm.project.task</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="crm.res_config_settings_view_form" />
<field name="arch" type="xml">
<div data-string="CRM" position="inside">
<h2>Projects</h2>
<div class="row mt16 o_settings_container">
<div class="col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
</div>
<div class="o_setting_right_pane" id="crm_default_project_id">
<label
for="crm_default_project_id"
string="Default project"
/>
<div class="text-muted">
By default this project will be selected to create task from lead / opportunity
</div>
<field name="crm_default_project_id" />
</div>
</div>
</div>
</div>
</field>
</record>
</odoo>