Skip to content

Commit

Permalink
add group
Browse files Browse the repository at this point in the history
add group, fix error to migrate saas, saas_operator_remote,
saas_cluster_simple
  • Loading branch information
gaelTorrecillas committed Mar 4, 2024
1 parent 5765035 commit 54b3edc
Show file tree
Hide file tree
Showing 22 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion auth_quick_master/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"uninstall_hook": None,

"auto_install": False,
"installable": True,
"installable": False,

# "demo_title": "Quick Authentication (Master)",
# "demo_addons": [
Expand Down
2 changes: 1 addition & 1 deletion saas/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion saas_access_apps/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"demo": [],
"application": False,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_apps/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_apps_signup/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
"post_init_hook": "post_init_hook",
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_backups/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_build_admin/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
# ],
Expand Down
2 changes: 1 addition & 1 deletion saas_cluster_simple/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions saas_cluster_simple/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion saas_contract/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"uninstall_hook": None,

"auto_install": False,
"installable": True,
"installable": False,

# "demo_title": "SaaS: Contracts",
# "demo_addons": [
Expand Down
2 changes: 1 addition & 1 deletion saas_database_limit/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
# ],
Expand Down
2 changes: 1 addition & 1 deletion saas_domain_names/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_expiration/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
# ],
Expand Down
2 changes: 1 addition & 1 deletion saas_installed_apps/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"depends": ["saas"],
"data": ["views/saas_db.xml"],
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_limit_max_users/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
# ],
Expand Down
2 changes: 1 addition & 1 deletion saas_operator_remote/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions saas_operator_remote/models/saas_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion saas_portal/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion saas_product/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
# "demo_title": "SaaS: Product",
# "demo_addons": [
# ],
Expand Down
2 changes: 1 addition & 1 deletion saas_public/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"demo/public_saas_template_demo.xml",
],
"auto_install": False,
"installable": True,
"installable": False,

# "demo_title": "{MODULE_NAME}",
# "demo_addons": [
Expand Down
2 changes: 1 addition & 1 deletion test_remote_saas/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
"installable": False,
}
2 changes: 1 addition & 1 deletion test_remote_saas_domain_names/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"data": [],
"demo": [],
"qweb": [],
"installable": True,
"installable": False,
}

0 comments on commit 54b3edc

Please sign in to comment.