64 lines
2.6 KiB
XML
64 lines
2.6 KiB
XML
<openerp>
|
|
<data>
|
|
<record id="view_mrp_installer" model="ir.ui.view">
|
|
<field name="name">mrp.installer.view</field>
|
|
<field name="model">mrp.installer</field>
|
|
<field name="type">form</field>
|
|
<field name="inherit_id" ref="base.res_config_installer"/>
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<form position="attributes">
|
|
<attribute name="string">MRP Modules Installation</attribute>
|
|
</form>
|
|
|
|
<separator string="title" position="attributes">
|
|
<attribute name="string">Manufacturing Resource Planning</attribute>
|
|
</separator>
|
|
<xpath expr="//label[@string='description']"
|
|
position="attributes">
|
|
<attribute name="string">After having installed the core manufacturing application, you can extend it with a few more depending on the needs of your organization</attribute>
|
|
</xpath>
|
|
<xpath expr='//separator[@string="vsep"]' position='attributes'>
|
|
<attribute name='string'></attribute>
|
|
</xpath>
|
|
<group colspan="8">
|
|
<field name="stock_location"/>
|
|
<field name="mrp_jit"/>
|
|
<field name="mrp_operations"/>
|
|
<field name="mrp_subproduct"/>
|
|
<field name="mrp_repair"/>
|
|
</group>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_mrp_installer" model="ir.actions.act_window">
|
|
<field name="name">MRP Modules Installation</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">mrp.installer</field>
|
|
<field name="view_id" ref="view_mrp_installer"/>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<record id="mrp_installer_todo" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_mrp_installer"/>
|
|
<field name="sequence">3</field>
|
|
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
|
|
</record>
|
|
|
|
<record id="mrp_ir_actions_todo_tree" model="ir.ui.view">
|
|
<field name="model">ir.actions.todo</field>
|
|
<field name="name">mrp_installer_action_replace</field>
|
|
<field name="type">tree</field>
|
|
<field name="inherit_id" ref="base.ir_actions_todo_tree"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@string='Launch']" position="replace">
|
|
<button name="%(action_mrp_installer)d" states="open,skip" string="Launch" type="action" icon="gtk-execute" help="Launch Configuration Wizard"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|