Initial commit: OCA Workflow Process packages (456 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:00 +02:00
commit d366e42934
18799 changed files with 1284507 additions and 0 deletions

View file

@ -0,0 +1 @@
from . import res_config_settings

View file

@ -0,0 +1,18 @@
# Copyright 2023 Moduon Team S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0)
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
project_display_name_pattern = fields.Char(
config_parameter="project_sequence.display_name_pattern",
default="%(sequence_code)s - %(name)s",
help=(
"Use %(sequence_code)s and %(name)s to include the sequence code "
"and the name of the project in the display name."
),
)

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Moduon Team S.L.
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0) -->
<data>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">Configure project display name</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="project.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='tasks_management']" position="inside">
<div
id="project_display_name_pattern"
class="col-12 col-lg-6 o_setting_box"
>
<div class="o_setting_right_pane" name="pad_project_right_pane">
<label for="project_display_name_pattern" class="d-block" />
<field name="project_display_name_pattern" />
</div>
</div>
</xpath>
</field>
</record>
</data>