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

    <!-- Product Category -->

    <record id="product_category_bmw" model="product.category">
        <field name="parent_id" ref="product.product_category_all" />
        <field name="name">BMW</field>
    </record>

    <!-- Configurable Product Template -->

    <record id="bmw_2_series" model="product.template">
        <field name="name">2 Series</field>
        <field name="config_ok" eval="True" />
        <field name="type">consu</field>
        <field name="categ_id" ref="product_category_bmw" />
        <field name="list_price" eval="25000" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/2-series-coupe.jpg"
        />
    </record>

    <!-- Related Product: added on attribute value -->

    <record id="product_bmw_sport_line" model="product.product">
        <field name="name">Sport Line</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="0" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-sport-line.jpg"
        />
    </record>

    <record id="product_bmw_luxury_line" model="product.product">
        <field name="name">Luxury Line</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="0" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-luxury-line.jpg"
        />
    </record>

    <record id="product_bmw_model_sport_line" model="product.product">
        <field name="name">Model Sport Line</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="2666" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-sport-line.jpg"
        />
    </record>

    <record id="product_bmw_model_luxury_line" model="product.product">
        <field name="name">Model Luxury Line</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="3844" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-luxury-line.jpg"
        />
    </record>

    <record id="product_bmw_model_m_sport" model="product.product">
        <field name="name">Model M Sport</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="4526" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-m-sport.jpg"
        />
    </record>

    <record id="product_bmw_model_advantage" model="product.product">
        <field name="name">Model Advantage</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="992" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-advantage.jpg"
        />
    </record>

    <record id="product_2_series_transmission_steptronic" model="product.product">
        <field name="name">Automatic Transmission Steptronic</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="0" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-transmission-steptronic.jpg"
        />
    </record>

    <record id="product_2_series_transmission_steptronic_sport" model="product.product">
        <field name="name">Sport Automatic Transmission Steptronic</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="156" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-transmission-steptronic-sport.jpg"
        />
    </record>

    <record id="product_2_series_sunroof" model="product.product">
        <field name="name">Sunroof</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="842" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-sunroof.jpg"
        />
    </record>

    <record id="product_2_series_armrest" model="product.product">
        <field name="name">Armrest</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="0" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-armrest.jpg"
        />
    </record>

    <record id="product_2_series_towhook" model="product.product">
        <field name="name">Towhook</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="842" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-towhook.jpg"
        />
    </record>

    <record id="product_2_series_smoker_package" model="product.product">
        <field name="name">Smoker Package</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="32" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-smoker-package.jpg"
        />
    </record>

    <record id="product_engine_218i_coupe" model="product.product">
        <field name="name">218i Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="4078" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_220i_coupe" model="product.product">
        <field name="name">220i Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="7240" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_228i_coupe" model="product.product">
        <field name="name">228i Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="12634" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_m235i_coupe" model="product.product">
        <field name="name">M235i Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="23236" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_m2351_xdrive_coupe" model="product.product">
        <field name="name">M235i xDrive Coupe</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="23236" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_218d_coupe" model="product.product">
        <field name="name">218d Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="7116" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_220d_coupe" model="product.product">
        <field name="name">220d Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="9596" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_220d_xdrive_coupe" model="product.product">
        <field name="name">220d xDrive Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="16181" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_engine_225d_coupe" model="product.product">
        <field name="name">225d Coupé</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="16987" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-engine.jpg"
        />
    </record>

    <record id="product_paint_silver" model="product.product">
        <field name="name">Silver Paint</field>
        <field name="type">consu</field>
        <field name="lst_price" eval="726" />
        <field
            name="image_1920"
            type="base64"
            file="product_configurator/static/img/product-paint-silver.jpg"
        />
    </record>

</odoo>
