mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-18 14:01:59 +02:00
Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9eb7ae5807
commit
6094c218b2
2332 changed files with 125826 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
from . import res_config_settings
|
||||
|
|
@ -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."
|
||||
),
|
||||
)
|
||||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue