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

    <!-- Договор поставки с ООО "Технологии Будущего" -->
    <record id="demo_contract_customer_001" model="partner.contract.customer">
        <field name="name">001/2026</field>
        <field name="date_start">2026-01-10</field>
        <field name="date_end">2026-12-31</field>
        <field name="partner_id" ref="demo_partner_buyer"/>
        <field name="company_id" ref="base.main_company"/>
        <field name="profile_id" ref="demo_contract_profile_supply"/>
        <field name="type">customer</field>
        <field name="state">signed</field>
        <field name="partner_type">company</field>
    </record>

    <!-- Договор с ООО "Ритейл Плюс" -->
    <record id="demo_contract_customer_002" model="partner.contract.customer">
        <field name="name">002/2026</field>
        <field name="date_start">2026-01-20</field>
        <field name="date_end">2026-12-31</field>
        <field name="partner_id" ref="demo_partner_invoice_1"/>
        <field name="company_id" ref="base.main_company"/>
        <field name="profile_id" ref="demo_contract_profile_service"/>
        <field name="type">customer</field>
        <field name="state">signed</field>
        <field name="partner_type">company</field>
    </record>

    <!-- Договор с ООО "МегаТорг" -->
    <record id="demo_contract_customer_003" model="partner.contract.customer">
        <field name="name">003/2026</field>
        <field name="date_start">2026-02-05</field>
        <field name="date_end">2026-12-31</field>
        <field name="partner_id" ref="demo_partner_invoice_2"/>
        <field name="company_id" ref="base.main_company"/>
        <field name="profile_id" ref="demo_contract_profile_supply"/>
        <field name="type">customer</field>
        <field name="state">signed</field>
        <field name="partner_type">company</field>
    </record>

    <!-- Договор поставки с ООО "СтройМатериалы Групп" (поставщик) -->
    <record id="demo_contract_supplier_001" model="partner.contract.customer">
        <field name="name">П-001/2026</field>
        <field name="date_start">2026-01-05</field>
        <field name="date_end">2026-12-31</field>
        <field name="partner_id" ref="demo_partner_supplier"/>
        <field name="company_id" ref="base.main_company"/>
        <field name="profile_id" ref="demo_contract_profile_supply"/>
        <field name="type">supplier</field>
        <field name="state">signed</field>
        <field name="partner_type">company</field>
    </record>

    <!-- Пункты договора 001/2026 -->
    <record id="demo_contract_line_001" model="contract.line">
        <field name="contract_id" ref="demo_contract_customer_001"/>
        <field name="sequence">10</field>
        <field name="name">1.1</field>
        <field name="punct">&lt;p&gt;Поставщик обязуется поставить товар в соответствии с условиями настоящего договора в срок не позднее 30 (тридцати) календарных дней с момента получения заявки.&lt;/p&gt;</field>
    </record>
    <record id="demo_contract_line_002" model="contract.line">
        <field name="contract_id" ref="demo_contract_customer_001"/>
        <field name="sequence">20</field>
        <field name="name">1.2</field>
        <field name="punct">&lt;p&gt;Покупатель обязуется принять и оплатить товар в течение 30 (тридцати) банковских дней с момента выставления счёта.&lt;/p&gt;</field>
    </record>
    <record id="demo_contract_line_003" model="contract.line">
        <field name="contract_id" ref="demo_contract_customer_001"/>
        <field name="sequence">30</field>
        <field name="name">2.1</field>
        <field name="punct">&lt;p&gt;Цена товара включает стоимость упаковки и доставки до склада Покупателя.&lt;/p&gt;</field>
    </record>

</data>
</odoo>
