diff --git a/addons/Dine360_Shivasakthi/__manifest__.py b/addons/Dine360_Shivasakthi/__manifest__.py index a2e0df7..80cb91b 100644 --- a/addons/Dine360_Shivasakthi/__manifest__.py +++ b/addons/Dine360_Shivasakthi/__manifest__.py @@ -12,6 +12,7 @@ 'dine360_theme_shivasakthi', 'dine360_kds', 'dine360_reservation', + 'dine360_theme_reservation', 'dine360_table', 'dine360_uber', 'dine360_recipe', diff --git a/addons/Dine360_Shivasakthi/hooks.py b/addons/Dine360_Shivasakthi/hooks.py index d4f9da2..8d695f0 100644 --- a/addons/Dine360_Shivasakthi/hooks.py +++ b/addons/Dine360_Shivasakthi/hooks.py @@ -10,7 +10,9 @@ def uninstall_hook(env): 'dine360_restaurant', 'dine360_theme_shivasakthi', 'dine360_kds', - 'dine360_reservation' + 'dine360_reservation', + 'dine360_theme_reservation', + 'dine360_table' ] # Search for these modules if they are installed diff --git a/addons/check_stuck_modules.py b/addons/check_stuck_modules.py new file mode 100644 index 0000000..2ee47a0 --- /dev/null +++ b/addons/check_stuck_modules.py @@ -0,0 +1,18 @@ +import odoo +from odoo import api, registry + +odoo.tools.config['db_host'] = 'db' +odoo.tools.config['db_user'] = 'odoo' +odoo.tools.config['db_password'] = 'odoo' + +db_name = 'dine360_restaurant_testing5' +print(f"Checking modules on: {db_name}") +try: + reg = registry(db_name) + with reg.cursor() as cr: + env = api.Environment(cr, odoo.SUPERUSER_ID, {}) + modules = env['ir.module.module'].search([('state', '=', 'installed')]) + for m in modules: + print(f" Installed module: {m.name}") +except Exception as e: + print(f" Error: {e}") diff --git a/addons/dine360_reservation/views/reservation_templates.xml b/addons/dine360_reservation/views/reservation_templates.xml index 3df1b1c..4156be1 100644 --- a/addons/dine360_reservation/views/reservation_templates.xml +++ b/addons/dine360_reservation/views/reservation_templates.xml @@ -2,6 +2,67 @@