From d19bbb0f10e83a9e50aa0d8eda477fa184682c99 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Wed, 5 Jan 2022 10:39:20 -0800 Subject: [PATCH] [MIG] project_stage: deprecated in 15.0, safe to uninstall after upgrade --- project_stage/__manifest__.py | 11 +++++++---- project_stage/models/__init__.py | 2 ++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/project_stage/__manifest__.py b/project_stage/__manifest__.py index ad1ccbbe..c8f54087 100644 --- a/project_stage/__manifest__.py +++ b/project_stage/__manifest__.py @@ -1,20 +1,23 @@ { - 'name': 'Project Stages', - 'version': '14.0.1.0.0', + 'name': 'Project Stages (deprecated)', + 'version': '15.0.1.0.0', 'author': 'Hibou Corp. ', 'website': 'https://hibou.io/', 'license': 'AGPL-3', 'category': 'Tools', 'complexity': 'easy', 'description': """ -Adds stages to Projects themselves. +Adds stages to Projects themselves. (deprecated) +After upgrade you can uninstall. """, 'depends': [ 'project', ], 'data': [ + # Deprecated in 15.0, + # this will uninstall the views/security rules for a model that will not exist after upgrade. 'security/ir.model.access.csv', - 'views/project_views.xml', + # 'views/project_views.xml', ], 'installable': True, 'auto_install': False, diff --git a/project_stage/models/__init__.py b/project_stage/models/__init__.py index 351a3ad3..529ff74c 100644 --- a/project_stage/models/__init__.py +++ b/project_stage/models/__init__.py @@ -1 +1,3 @@ +# Deprecated in 15.0 +# Models stay so that you could perform post-migration if needed from . import project