# -*- coding: utf-8 -*-
{
    'name': 'Fusion Schedule',
    'version': '19.0.2.0.0',
    'category': 'Services/Appointment',
    'summary': 'Multi-calendar sync, portal booking, and shareable scheduling links',
    'description': """
Fusion Schedule
===============

Multi-account calendar synchronisation hub for Odoo 19.

**Features**
- Connect multiple Google and Microsoft Outlook calendars per user
- Automatic bidirectional sync every 5 minutes
- Cross-calendar busy blocking — busy on one, blocked on all
- Portal "My Schedule" dashboard with today's and upcoming appointments
- Appointment booking form with date picker, weekly calendar preview, and available time slots
- Public booking page — share a link so external visitors can book your available time
- Google Maps / Places API address autocomplete for client location
- Shareable public booking link (via appointment.invite)
- Dedicated Settings page for OAuth credentials (falls back to Odoo defaults)
    """,
    'author': 'Fusion Claims',
    'website': 'https://fusionclaims.com',
    'license': 'LGPL-3',
    'depends': [
        'base',
        'portal',
        'website',
        'calendar',
        'appointment',
        'google_account',
        'microsoft_account',
        'fusion_authorizer_portal',
    ],
    'data': [
        'security/security.xml',
        'security/ir.model.access.csv',
        'data/appointment_invite_data.xml',
        'data/mail_template_data.xml',
        'data/ir_cron_data.xml',
        'views/fusion_calendar_account_views.xml',
        'views/res_config_settings_views.xml',
        'views/portal_schedule_tile.xml',
        'views/portal_schedule.xml',
        'views/public_booking.xml',
    ],
    'assets': {
        'web.assets_frontend': [
            'fusion_schedule/static/src/css/portal_schedule.css',
            'fusion_schedule/static/src/js/portal_schedule_booking.js',
            'fusion_schedule/static/src/js/portal_schedule_accounts.js',
        ],
        'web.assets_backend': [
            'fusion_schedule/static/src/views/fusion_calendar_controller.js',
            'fusion_schedule/static/src/views/fusion_calendar_controller.xml',
        ],
    },
    'installable': True,
    'application': True,
    'auto_install': False,
}
