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

    <!-- ── Standard Canada Post Box Sizes (inches / lbs) ── -->

    <record id="fusion_cp_pkg_26x20x20" model="stock.package.type">
        <field name="name">CP Box 26×20×20 in, 35 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">26</field>
        <field name="width">20</field>
        <field name="height">20</field>
        <field name="max_weight">35</field>
    </record>

    <record id="fusion_cp_pkg_26x26x9" model="stock.package.type">
        <field name="name">CP Box 26×26×9 in, 15 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">26</field>
        <field name="width">26</field>
        <field name="height">9</field>
        <field name="max_weight">15</field>
    </record>

    <record id="fusion_cp_pkg_32x28x10" model="stock.package.type">
        <field name="name">CP Box 32×28×10 in, 12 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">32</field>
        <field name="width">28</field>
        <field name="height">10</field>
        <field name="max_weight">12</field>
    </record>

    <record id="fusion_cp_pkg_34x28x10" model="stock.package.type">
        <field name="name">CP Box 34×28×10 in, 10 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">34</field>
        <field name="width">28</field>
        <field name="height">10</field>
        <field name="max_weight">10</field>
    </record>

    <record id="fusion_cp_pkg_9x25x27" model="stock.package.type">
        <field name="name">CP Box 9×25×27 in, 16 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">9</field>
        <field name="width">25</field>
        <field name="height">27</field>
        <field name="max_weight">16</field>
    </record>

    <record id="fusion_cp_pkg_9x25x29" model="stock.package.type">
        <field name="name">CP Box 9×25×29 in, 17 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">9</field>
        <field name="width">25</field>
        <field name="height">29</field>
        <field name="max_weight">17</field>
    </record>

    <record id="fusion_cp_pkg_10x10x6" model="stock.package.type">
        <field name="name">CP Box 10×10×6 in, 35 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">10</field>
        <field name="width">10</field>
        <field name="height">6</field>
        <field name="max_weight">35</field>
    </record>

    <record id="fusion_cp_pkg_25x15x30" model="stock.package.type">
        <field name="name">CP Box 25×15×30 in, 25 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">25</field>
        <field name="width">15</field>
        <field name="height">30</field>
        <field name="max_weight">25</field>
    </record>

    <record id="fusion_cp_pkg_10x10x10" model="stock.package.type">
        <field name="name">CP Box 10×10×10 in, 2 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">10</field>
        <field name="width">10</field>
        <field name="height">10</field>
        <field name="max_weight">2</field>
    </record>

    <record id="fusion_cp_pkg_28x15x30" model="stock.package.type">
        <field name="name">CP Box 28×15×30 in, 40 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">28</field>
        <field name="width">15</field>
        <field name="height">30</field>
        <field name="max_weight">40</field>
    </record>

    <record id="fusion_cp_pkg_28x10x30" model="stock.package.type">
        <field name="name">CP Box 28×10×30 in, 16 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">28</field>
        <field name="width">10</field>
        <field name="height">30</field>
        <field name="max_weight">16</field>
    </record>

    <record id="fusion_cp_pkg_22x10x6_cm" model="stock.package.type">
        <field name="name">CP Box 22×10×6 cm, 10 kg</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">22</field>
        <field name="width">10</field>
        <field name="height">6</field>
        <field name="max_weight">10</field>
    </record>

    <record id="fusion_cp_pkg_22x13x6" model="stock.package.type">
        <field name="name">CP Box 22×13×6 in, 10 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">22</field>
        <field name="width">13</field>
        <field name="height">6</field>
        <field name="max_weight">10</field>
    </record>

    <record id="fusion_cp_pkg_12x10x5" model="stock.package.type">
        <field name="name">CP Box 12×10×5 in, 2 lb</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">12</field>
        <field name="width">10</field>
        <field name="height">5</field>
        <field name="max_weight">2</field>
    </record>

    <!-- Old default box — replaced with a standard size -->
    <record id="fusion_cp_packaging_BOX" model="stock.package.type">
        <field name="name">CP Box 10×10×10 in (Legacy)</field>
        <field name="package_carrier_type">fusion_canada_post</field>
        <field name="packaging_length">10</field>
        <field name="width">10</field>
        <field name="height">10</field>
        <field name="max_weight">2</field>
    </record>

    <!-- ── Canada Post Delivery Product ── -->

    <record id="product_product_delivery_fusion_canada_post" model="product.product">
        <field name="name">SHIPPING BY CANADA POST</field>
        <field name="default_code">CPSHIPPING</field>
        <field name="type">service</field>
        <field name="categ_id" ref="delivery.product_category_deliveries" />
        <field name="sale_ok" eval="False" />
        <field name="purchase_ok" eval="False" />
        <field name="list_price">0.0</field>
    </record>

    <!-- ── Default Canada Post Carrier ── -->

    <record id="delivery_carrier_fusion_canada_post" model="delivery.carrier">
        <field name="name">Canada Post</field>
        <field
            name="product_id"
            ref="fusion_canada_post.product_product_delivery_fusion_canada_post"
        />
        <field name="delivery_type">fusion_canada_post</field>
        <field name="fusion_cp_type">commercial</field>
        <field name="fusion_cp_dimension_unit">in</field>
        <field name="option_code">SO</field>
        <field name="service_type">DOM.RP</field>
    </record>

</odoo>
