# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)

{
    'name': 'Fusion Clock AI',
    'version': '19.0.1.0.0',
    'category': 'Human Resources/Attendances',
    'summary': 'AI-Powered Intelligence for Fusion Clock - GPT Reports, Anomaly Detection, Natural Language Queries & Employee Assistant',
    'description': """
Fusion Clock AI - Intelligent Attendance Analytics
====================================================

AI enhancement module for Fusion Clock. Requires OpenAI API key.

* **Natural Language Dashboard** - Ask questions about attendance in plain English
* **AI Narrative Reports** - Human-readable weekly/monthly summaries
* **Payroll Anomaly Detection** - GPT flags suspicious patterns before payroll
* **Employee AI Assistant** - Portal chatbot for hours, leave requests, schedule queries
* **Attendance Coach** - Personalized weekly tips per employee
* **Correction Review Advisor** - AI context for approval/rejection decisions
* **Predictive Understaffing** - Forecast absence likelihood by day
* **Shift Optimization** - Data-driven shift reassignment suggestions
* **Compliance Checks** - Labor law violation alerts
* **Smart Configuration** - Describe policies in English, AI maps to settings
* **Geofence Tuning** - AI suggests radius adjustments from clock-in data
* **Intelligent Incident Logs** - Auto-generated explanations for every activity log

Requires: fusion_clock module and an OpenAI API key.
    """,
    'author': 'Nexa Systems Inc.',
    'website': 'https://nexasystems.io',
    'license': 'OPL-1',
    'depends': [
        'fusion_clock',
        'mail',
    ],
    'external_dependencies': {
        'python': ['openai'],
    },
    'data': [
        'security/security.xml',
        'security/ir.model.access.csv',
        'data/ir_config_parameter_data.xml',
        'data/ir_cron_data.xml',
        'data/ai_prompt_data.xml',
        'views/res_config_settings_views.xml',
        'views/ai_conversation_views.xml',
        'views/ai_usage_views.xml',
        'views/ai_prompt_views.xml',
        'views/hr_employee_views.xml',
        'views/clock_report_views.xml',
        'views/clock_correction_views.xml',
        'views/ai_menus.xml',
        'views/portal_ai_templates.xml',
    ],
    'assets': {
        'web.assets_frontend': [
            'fusion_clock_ai/static/src/css/portal_ai.css',
            'fusion_clock_ai/static/src/js/ai_chat_portal.js',
        ],
        'web.assets_backend': [
            'fusion_clock_ai/static/src/scss/fusion_clock_ai.scss',
            'fusion_clock_ai/static/src/js/ai_chat_backend.js',
            'fusion_clock_ai/static/src/xml/ai_chat_backend.xml',
        ],
    },
    'installable': True,
    'auto_install': False,
    'application': False,
}
