<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">

        <!-- Demo Tasks for Project 1: Website Redesign (from project_demo_data_loader) -->
        <record id="demo_task_1_1" model="project.task">
            <field name="name">Gather requirements</field>
            <field name="project_id" ref="demo_project_1"/>
            <field name="description">Collect all design and functional requirements from the client.</field>
        </record>

        <record id="demo_task_1_2" model="project.task">
            <field name="name">Create wireframes</field>
            <field name="project_id" ref="demo_project_1"/>
            <field name="description">Design low-fidelity wireframes for all key pages.</field>
        </record>

        <record id="demo_task_1_3" model="project.task">
            <field name="name">Frontend development</field>
            <field name="project_id" ref="demo_project_1"/>
            <field name="description">Implement approved designs in HTML/CSS/JS.</field>
        </record>

        <!-- Demo Tasks for Project 2: ERP Implementation (from project_demo_data_loader) -->
        <record id="demo_task_2_1" model="project.task">
            <field name="name">System analysis</field>
            <field name="project_id" ref="demo_project_2"/>
            <field name="description">Analyse existing business processes and map to Odoo modules.</field>
        </record>

        <record id="demo_task_2_2" model="project.task">
            <field name="name">Data migration</field>
            <field name="project_id" ref="demo_project_2"/>
            <field name="description">Migrate legacy data to Odoo.</field>
        </record>

        <record id="demo_task_2_3" model="project.task">
            <field name="name">User training</field>
            <field name="project_id" ref="demo_project_2"/>
            <field name="description">Train end-users on the new system.</field>
        </record>

        <!-- Demo Tasks for Project: Construction (from mklab_project_task_indicators) -->
        <record id="demo_task_design_docs" model="project.task">
            <field name="name">Разработка проектной документации (демо)</field>
            <field name="project_id" ref="demo_project_construction"/>
            <field name="description">Подготовка полного комплекта проектной документации для строительства склада.</field>
        </record>

        <record id="demo_task_foundation" model="project.task">
            <field name="name">Устройство монолитного фундамента (демо)</field>
            <field name="project_id" ref="demo_project_construction"/>
            <field name="description">Земляные работы, армирование и заливка монолитного фундамента.</field>
        </record>

        <record id="demo_task_roofing" model="project.task">
            <field name="name">Монтаж кровельного покрытия (демо)</field>
            <field name="project_id" ref="demo_project_construction"/>
            <field name="description">Монтаж металлочерепицы и водосточной системы.</field>
        </record>

        <!-- Demo Tasks for Project: IT CRM (from mklab_project_task_indicators) -->
        <record id="demo_task_backend" model="project.task">
            <field name="name">Разработка серверной части CRM (демо)</field>
            <field name="project_id" ref="demo_project_it"/>
            <field name="description">Проектирование и реализация REST API, интеграция с базой данных.</field>
        </record>

        <record id="demo_task_frontend" model="project.task">
            <field name="name">Разработка пользовательского интерфейса CRM (демо)</field>
            <field name="project_id" ref="demo_project_it"/>
            <field name="description">Вёрстка и реализация клиентской части на основе утверждённых макетов.</field>
        </record>

        <record id="demo_task_testing" model="project.task">
            <field name="name">Тестирование и приёмка системы (демо)</field>
            <field name="project_id" ref="demo_project_it"/>
            <field name="description">Функциональное и нагрузочное тестирование, устранение замечаний.</field>
        </record>

    </data>
</odoo>
