~unifield-team/unifield-wm/uftp-319

« back to all changes in this revision

Viewing changes to out_step/out_step_view.xml

  • Committer: Quentin THEURET
  • Date: 2012-07-02 11:32:23 UTC
  • mto: This revision was merged to the branch mainline in revision 939.
  • Revision ID: qt@tempo-consulting.fr-20120702113223-31o4ifxt14cos2oe
UF-1149 [IMP] Outgoing delivery & moves : Rework form view

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<openerp>
3
 
    <data>
4
 
    
5
 
        <record id="view_picking_out_form" model="ir.ui.view">
6
 
            <field name="name">stock.picking.out.form</field>
7
 
            <field name="model">stock.picking</field>
8
 
            <field name="type">form</field>
9
 
            <field name="inherit_id" ref="stock.view_picking_out_form" />
10
 
            <field name="arch" type="xml">
11
 
                <data>
12
 
                
13
 
                                        <xpath expr="//page[@string='Products']/group[@col='12']/field[@name='state']" position="replace">
14
 
                                                <field name="state" invisible="True" />
15
 
                                <field name="subtype" invisible="True" />
16
 
                                <field name="delivered" invisible="True" />
17
 
                                        <field name="state_hidden" />
18
 
                                        <button name="set_delivered" icon="gtk-apply" type="object" string="Validate Delivery" attrs="{'invisible': ['|', '|', '|', ('type', '!=', 'out'), ('subtype', '!=', 'standard'), ('state', '!=', 'done'), ('delivered', '=', True)]}" />
19
 
                                        </xpath>
20
 
                
21
 
                </data>
22
 
            </field>
23
 
                </record>
24
 
                
 
3
        <data>
25
4
                
26
5
                <record id="view_picking_out_tree" model="ir.ui.view">
27
6
            <field name="name">stock.picking.out.tree</field>
69
48
        </record>
70
49
    
71
50
    </data>
72
 
</openerp>
 
51
</openerp>
 
 
b'\\ No newline at end of file'