diff --git a/addons/community_portal/controllers/portal.py b/addons/community_portal/controllers/portal.py
index 23bb14f..452b0e6 100644
--- a/addons/community_portal/controllers/portal.py
+++ b/addons/community_portal/controllers/portal.py
@@ -48,6 +48,16 @@ class CommunityPortalDashboard(CustomerPortal):
return values
+ @http.route(['/my', '/my/home'], type='http', auth='public', website=True)
+ def home(self, **kw):
+ # Core declares these auth='user', which on this Odoo build returns a
+ # 500 for anonymous visitors instead of redirecting to login (see
+ # community_classifieds' _redirect_to_login_if_public). "Member Login"
+ # links point here, so check auth ourselves.
+ if request.env.user._is_public():
+ return request.redirect('/web/login?redirect=/my')
+ return super().home(**kw)
+
@http.route(['/my/school'], type='http', auth='public', website=True)
def portal_my_school(self, **kwargs):
if request.env.user._is_public():
diff --git a/addons/tncsc_deployment/__manifest__.py b/addons/tncsc_deployment/__manifest__.py
index ac01fec..a62e4f9 100644
--- a/addons/tncsc_deployment/__manifest__.py
+++ b/addons/tncsc_deployment/__manifest__.py
@@ -1,6 +1,6 @@
{
'name': 'TNCSC Deployment',
- 'version': '19.0.1.1.0',
+ 'version': '19.0.1.2.0',
'category': 'Hidden',
'summary': 'Tamil Nadu Cultural Society of Canada - client configuration for the Community OS suite',
'description': """
diff --git a/addons/tncsc_deployment/migrations/19.0.1.2.0/pre-migrate.py b/addons/tncsc_deployment/migrations/19.0.1.2.0/pre-migrate.py
new file mode 100644
index 0000000..61fb7b4
--- /dev/null
+++ b/addons/tncsc_deployment/migrations/19.0.1.2.0/pre-migrate.py
@@ -0,0 +1,18 @@
+"""Reload the seeded website pages from views/website_pages.xml.
+
+That file is noupdate="1" so edits made in the website editor survive
+upgrades, but it also means upgrades never deliver template fixes (here:
+broken and placeholder links). Loading it once in 'init' mode rewrites the
+existing page views. Any website-editor changes to these pages are
+overwritten by this upgrade.
+
+Runs before the module's data is loaded so the header overrides in
+views/website_header_overrides.xml are validated against current pages.
+"""
+from odoo import SUPERUSER_ID, api
+from odoo.tools import convert_file
+
+
+def migrate(cr, version):
+ env = api.Environment(cr, SUPERUSER_ID, {})
+ convert_file(env, 'tncsc_deployment', 'views/website_pages.xml', {}, mode='init', noupdate=True)
diff --git a/addons/tncsc_deployment/views/website_header_overrides.xml b/addons/tncsc_deployment/views/website_header_overrides.xml
index e8315a5..cd05db0 100644
--- a/addons/tncsc_deployment/views/website_header_overrides.xml
+++ b/addons/tncsc_deployment/views/website_header_overrides.xml
@@ -129,5 +129,84 @@