<?xml version="1.0" ?>
<openerp>
    <data>
        <record id="view_compute_price_wizard" model="ir.ui.view">
            <field name="name">Compute Price as Sum of BoM Components and Routing</field>
            <field name="model">wizard.price</field>
            <field name="arch" type="xml">
              <form string="Change Standard Price">
                  <separator string="Change Price"/>
                  <group>
                      <field name="info_field"/>
                      <div colspan="2">The price is computed from the bill of material lines which are not variant specific</div>
                      <field name="real_time_accounting"/>
                      <field name="recursive"/>
                  </group>
                  <footer>
                      <button name="compute_from_bom" string="Set price on BoM" type="object" class="oe_highlight"/>
                      or
                      <button string="Cancel" class="oe_link" special="cancel" />
                  </footer>
              </form>
            </field>
        </record>

        <record id="action_view_compute_price_wizard" model="ir.actions.act_window">
            <field name="name">Compute Price Wizard</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">wizard.price</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_compute_price_wizard"/>
            <field name="target">new</field>
        </record>

	</data>
</openerp>
