~vauxoo/addons-vauxoo/6.0-trunk

« back to all changes in this revision

Viewing changes to mrp_production_security_force/mrp_production_security_force_view.xml

[MERGE] Modules stock_picking_security_force and mrp_roduction_security_force added

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
        
 
5
        <record model="ir.ui.view" id="view_mrp_production_inherit_button_force_form">
 
6
            <field name="name">view.mrp.production.inherit.button.force.form</field>
 
7
            <field name="model">mrp.production</field>
 
8
            <field name="inherit_id" ref="mrp.mrp_production_form_view"/>
 
9
            <field name="type">form</field>
 
10
            <field name="arch" type="xml">
 
11
                <xpath expr="/form/notebook/page/group/button[@name='force_production']" position="replace">
 
12
                    <button name="force_production" states="confirmed,picking_except" string="Force Reservation" type="object" icon="gtk-jump-to" groups="mrp.force_availability"/>
 
13
                </xpath>
 
14
            </field>
 
15
        </record>
 
16
        
 
17
    </data>    
 
18
</openerp>