mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-19 08:42:07 +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,16 @@
|
|||
# Copyright 2024 Tecnativa - Juan José Seguí
|
||||
# Copyright 2024 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.logged_query(
|
||||
env.cr,
|
||||
"""UPDATE project_task
|
||||
SET planned_date_end = date_end
|
||||
WHERE planned_date_end IS NULL AND date_end IS NOT NULL;
|
||||
""",
|
||||
)
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright 2024 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.rename_fields(
|
||||
env, [("project.task", "project_task", "date_start", "planned_date_start")]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue