
print("--- DUMPING THEME VIEW ---")
try:
    theme_view = env.ref('dine360_theme_chennora.custom_homepage')
    print(f"Name: {theme_view.name}")
    print(f"ID: {theme_view.id}")
    print(f"Type: {theme_view.type}")
    print(f"Mode: {theme_view.mode}")
    print(f"Active: {theme_view.active}")
    print(f"Priority: {theme_view.priority}")
    print(f"Inherit ID: {theme_view.inherit_id.id if theme_view.inherit_id else 'None'}")
    print(f"Website ID: {theme_view.website_id.id if theme_view.website_id else 'None'}")
    print(f"Key: {theme_view.key}")
    print("Arch Snippet:")
    print(theme_view.arch[:200])
except Exception as e:
    print(f"Error: {e}")

