From 54b3edc85622d6947bbb52568658971ea7bab69b Mon Sep 17 00:00:00 2001 From: gaelTorrecillas Date: Thu, 28 Dec 2023 12:23:08 +0100 Subject: [PATCH] add group add group, fix error to migrate saas, saas_operator_remote, saas_cluster_simple --- auth_quick_master/__manifest__.py | 2 +- saas/__manifest__.py | 2 +- saas_access_apps/__manifest__.py | 2 +- saas_apps/__manifest__.py | 2 +- saas_apps_signup/__manifest__.py | 2 +- saas_backups/__manifest__.py | 2 +- saas_build_admin/__manifest__.py | 2 +- saas_cluster_simple/__manifest__.py | 2 +- saas_cluster_simple/main.py | 4 ++-- saas_contract/__manifest__.py | 2 +- saas_database_limit/__manifest__.py | 2 +- saas_domain_names/__manifest__.py | 2 +- saas_expiration/__manifest__.py | 2 +- saas_installed_apps/__manifest__.py | 2 +- saas_limit_max_users/__manifest__.py | 2 +- saas_operator_remote/__manifest__.py | 2 +- saas_operator_remote/models/saas_operator.py | 4 ++-- saas_portal/__manifest__.py | 2 +- saas_product/__manifest__.py | 2 +- saas_public/__manifest__.py | 2 +- test_remote_saas/__manifest__.py | 2 +- test_remote_saas_domain_names/__manifest__.py | 2 +- 22 files changed, 24 insertions(+), 24 deletions(-) diff --git a/auth_quick_master/__manifest__.py b/auth_quick_master/__manifest__.py index 69beba2bc..4055a7e1f 100644 --- a/auth_quick_master/__manifest__.py +++ b/auth_quick_master/__manifest__.py @@ -36,7 +36,7 @@ "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "Quick Authentication (Master)", # "demo_addons": [ diff --git a/saas/__manifest__.py b/saas/__manifest__.py index ca8bd8c5d..6addc4421 100644 --- a/saas/__manifest__.py +++ b/saas/__manifest__.py @@ -9,7 +9,7 @@ "category": "SaaS", # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=14.0", "images": [], - "version": "15.0.3.1.0", + "version": "16.0.1.0.0", "application": False, "author": "IT-Projects LLC, Ivan Yelizariev", diff --git a/saas_access_apps/__manifest__.py b/saas_access_apps/__manifest__.py index 4619b72a7..3f1bf240c 100644 --- a/saas_access_apps/__manifest__.py +++ b/saas_access_apps/__manifest__.py @@ -15,5 +15,5 @@ "demo": [], "application": False, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_apps/__manifest__.py b/saas_apps/__manifest__.py index 77da11904..aa46e0356 100644 --- a/saas_apps/__manifest__.py +++ b/saas_apps/__manifest__.py @@ -40,5 +40,5 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_apps_signup/__manifest__.py b/saas_apps_signup/__manifest__.py index 70ad1c1b2..e32b3ac21 100644 --- a/saas_apps_signup/__manifest__.py +++ b/saas_apps_signup/__manifest__.py @@ -44,5 +44,5 @@ "post_init_hook": "post_init_hook", "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_backups/__manifest__.py b/saas_backups/__manifest__.py index 15ba4cc1d..2b7e95bb4 100644 --- a/saas_backups/__manifest__.py +++ b/saas_backups/__manifest__.py @@ -21,5 +21,5 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_build_admin/__manifest__.py b/saas_build_admin/__manifest__.py index 74a661a9d..a3656e880 100644 --- a/saas_build_admin/__manifest__.py +++ b/saas_build_admin/__manifest__.py @@ -25,7 +25,7 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "SaaS: build admin", # "demo_addons": [ # ], diff --git a/saas_cluster_simple/__manifest__.py b/saas_cluster_simple/__manifest__.py index decc00235..7fa48f671 100644 --- a/saas_cluster_simple/__manifest__.py +++ b/saas_cluster_simple/__manifest__.py @@ -1,6 +1,6 @@ { "name": "SaaS: Simple cluster", - "version": "15.0.0.1.1", + "version": "16.0.0.1.0", "author": "IT-Projects LLC, Eugene Molotov", "support": "it@it-projects.info", "license": "LGPL-3", diff --git a/saas_cluster_simple/main.py b/saas_cluster_simple/main.py index f8c99db12..c9338ec61 100644 --- a/saas_cluster_simple/main.py +++ b/saas_cluster_simple/main.py @@ -159,8 +159,8 @@ def deploy_backup(backup_name): } -def signal_changes(db): - registry(db).signal_changes() +def signal_changes(db_name): + registry(database_name=db_name).signal_changes() # Modified version of odoo.service.model.execute diff --git a/saas_contract/__manifest__.py b/saas_contract/__manifest__.py index 88da4cbac..09fe6da50 100644 --- a/saas_contract/__manifest__.py +++ b/saas_contract/__manifest__.py @@ -37,7 +37,7 @@ "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "SaaS: Contracts", # "demo_addons": [ diff --git a/saas_database_limit/__manifest__.py b/saas_database_limit/__manifest__.py index 1c54fdebe..3b6157e54 100644 --- a/saas_database_limit/__manifest__.py +++ b/saas_database_limit/__manifest__.py @@ -25,7 +25,7 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "SaaS: Database limit", # "demo_addons": [ # ], diff --git a/saas_domain_names/__manifest__.py b/saas_domain_names/__manifest__.py index 3833eae5c..ba9716f1b 100644 --- a/saas_domain_names/__manifest__.py +++ b/saas_domain_names/__manifest__.py @@ -20,5 +20,5 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_expiration/__manifest__.py b/saas_expiration/__manifest__.py index 3bf199595..489ed9441 100644 --- a/saas_expiration/__manifest__.py +++ b/saas_expiration/__manifest__.py @@ -25,7 +25,7 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "SaaS: build expiration", # "demo_addons": [ # ], diff --git a/saas_installed_apps/__manifest__.py b/saas_installed_apps/__manifest__.py index 70c5f6e50..c8dc9ca40 100644 --- a/saas_installed_apps/__manifest__.py +++ b/saas_installed_apps/__manifest__.py @@ -14,5 +14,5 @@ "depends": ["saas"], "data": ["views/saas_db.xml"], "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_limit_max_users/__manifest__.py b/saas_limit_max_users/__manifest__.py index 8b5141abc..4ae66f414 100644 --- a/saas_limit_max_users/__manifest__.py +++ b/saas_limit_max_users/__manifest__.py @@ -25,7 +25,7 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "SaaS: limit max users (master)", # "demo_addons": [ # ], diff --git a/saas_operator_remote/__manifest__.py b/saas_operator_remote/__manifest__.py index 0b3a28ec5..9ec7ad89b 100644 --- a/saas_operator_remote/__manifest__.py +++ b/saas_operator_remote/__manifest__.py @@ -7,7 +7,7 @@ "category": "Hidden", # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=14.0", "images": [], - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "application": False, "author": "IT-Projects LLC, Eugene Molotov", "support": "apps@it-projects.info", diff --git a/saas_operator_remote/models/saas_operator.py b/saas_operator_remote/models/saas_operator.py index 7dc8e99fd..600e2aef6 100644 --- a/saas_operator_remote/models/saas_operator.py +++ b/saas_operator_remote/models/saas_operator.py @@ -36,8 +36,8 @@ class SaasOperator(models.Model): _inherit = "saas.operator" type = fields.Selection(selection_add=[("remote", "Remote Instance")]) - remote_instance_url = fields.Char("Instance URL") - remote_master_pwd = fields.Char("Master Password") + remote_instance_url = fields.Char(string="Instance URL") + remote_master_pwd = fields.Char(string="Master Password") def _create_db(self, template_db, db_name, demo, lang="en_US"): remote_ops = self.filtered(lambda op: op.type == "remote") diff --git a/saas_portal/__manifest__.py b/saas_portal/__manifest__.py index 28706ff27..80261f2a5 100644 --- a/saas_portal/__manifest__.py +++ b/saas_portal/__manifest__.py @@ -29,5 +29,5 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/saas_product/__manifest__.py b/saas_product/__manifest__.py index f34c4a170..e77989a74 100644 --- a/saas_product/__manifest__.py +++ b/saas_product/__manifest__.py @@ -25,7 +25,7 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "SaaS: Product", # "demo_addons": [ # ], diff --git a/saas_public/__manifest__.py b/saas_public/__manifest__.py index d37f07bab..273c7b6a4 100644 --- a/saas_public/__manifest__.py +++ b/saas_public/__manifest__.py @@ -26,7 +26,7 @@ "demo/public_saas_template_demo.xml", ], "auto_install": False, - "installable": True, + "installable": False, # "demo_title": "{MODULE_NAME}", # "demo_addons": [ diff --git a/test_remote_saas/__manifest__.py b/test_remote_saas/__manifest__.py index 177e48fb1..3e790d9f5 100644 --- a/test_remote_saas/__manifest__.py +++ b/test_remote_saas/__manifest__.py @@ -14,5 +14,5 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": True, + "installable": False, } diff --git a/test_remote_saas_domain_names/__manifest__.py b/test_remote_saas_domain_names/__manifest__.py index d44290ab1..4f6479288 100644 --- a/test_remote_saas_domain_names/__manifest__.py +++ b/test_remote_saas_domain_names/__manifest__.py @@ -8,5 +8,5 @@ "data": [], "demo": [], "qweb": [], - "installable": True, + "installable": False, }