<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!--
        Default configuration parameters for Fusion Tasks.
        noupdate="1" ensures these are ONLY set on first install.
        forcecreate="false" prevents errors if keys already exist.
        Keys use fusion_claims.* prefix to preserve existing data.
    -->
    <data noupdate="1">

        <!-- Google Maps API Key -->
        <record id="config_google_maps_api_key" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.google_maps_api_key</field>
            <field name="value"></field>
        </record>

        <!-- Store Hours -->
        <record id="config_store_open_hour" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.store_open_hour</field>
            <field name="value">9.0</field>
        </record>
        <record id="config_store_close_hour" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.store_close_hour</field>
            <field name="value">18.0</field>
        </record>

        <!-- Push Notifications -->
        <record id="config_push_enabled" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.push_enabled</field>
            <field name="value">False</field>
        </record>
        <record id="config_push_advance_minutes" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.push_advance_minutes</field>
            <field name="value">30</field>
        </record>

        <!-- Cross-instance task sync -->
        <record id="config_sync_instance_id" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.sync_instance_id</field>
            <field name="value"></field>
        </record>

        <!-- Technician start address (HQ default) -->
        <record id="config_technician_start_address" model="ir.config_parameter" forcecreate="false">
            <field name="key">fusion_claims.technician_start_address</field>
            <field name="value"></field>
        </record>

    </data>
</odoo>
