odoo/addons/profile_manufacturing/profile_manufacturing.xml

56 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_confirm_install_module_form" model="ir.ui.view">
<field name="name">Manufacturing Profile: Install Extra Modules</field>
<field name="model">profile.manufacturing.config.install_modules_wizard</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.res_config_view_base"/>
<field name="arch" type="xml">
<data>
<form position="attributes"><attribute name="string">
Manufacturing Profile: Install Extra Modules
</attribute></form>
<group string="res_config_contents" position="replace">
<label colspan="4" align="0.0" string="
Here are a few modules which might be useful along with
the rest of the Manufacturing profile. You can also install
them the normal way later on, but if you think you'll need
them to fit your requirements, you can select them now and
they'll be installed immediately."/>
<separator string="Stock &amp; Manufacturing" colspan="4"/>
<field name="stock_location"/>
<field name="mrp_jit"/>
<field name="mrp_operation"/>
<field name="mrp_subproduct"/>
<field name="mrp_repair"/>
<separator string="Sales Management" colspan="4"/>
<field name="point_of_sale"/>
<field name="sale_journal"/>
<field name="sale_margin"/>
<separator string="Relationship Management" colspan="4"/>
<field name="sale_crm"/>
<field name="board_document"/>
<field name="warning"/>
<field name="portal"/>
</group>
<xpath expr='//button[@name="action_skip"]' position='replace'/>
</data>
</field>
</record>
<record id="action_config_install_module" model="ir.actions.act_window">
<field name="name">Manufacturing Profile: Install Extra Modules</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">profile.manufacturing.config.install_modules_wizard</field>
<field name="view_id" ref="view_confirm_install_module_form"/>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record model="ir.actions.todo"
id="config_install_module">
<field name="action_id" ref="action_config_install_module"/>
</record>
</data>
</openerp>