1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_stock_move_track_wizard" model="ir.ui.view">
6 <field name="name">Tracking a move</field>
7 <field name="model">stock.move.track</field>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <form string="Tracking a move">
11 <field name="tracking_prefix" colspan="4"/>
12 <field name="quantity" colspan="4"/>
14 <separator string="" colspan="4" />
15 <button icon='gtk-cancel' special="cancel"
17 <button name="track_lines" string="Ok"
18 type="object" icon="gtk-ok" />
23 <record id="track_line_old" model="ir.actions.act_window">
24 <field name="name">Tracking a move</field>
25 <field name="type">ir.actions.act_window</field>
26 <field name="res_model">stock.move.track</field>
27 <field name="view_type">form</field>
28 <field name="view_mode">form</field>
29 <field name="target">new</field>
33 <!-- Consume, scrap move -->
35 <record id="view_stock_move_consume_wizard" model="ir.ui.view">
36 <field name="name">Consume Move</field>
37 <field name="model">stock.move.consume</field>
38 <field name="type">form</field>
39 <field name="arch" type="xml">
40 <form string="Consume Move">
41 <separator string="Consume Products" colspan="4"/>
42 <field name="product_id" colspan="4" readonly="1"/>
43 <field name="location_id" colspan="4" />
44 <field name="product_qty" colspan="2"/>
45 <field name="product_uom" nolabel="1" readonly="1"/>
47 <separator string="" colspan="4" />
48 <label string="" colspan="2" />
49 <group col="2" colspan="1">
50 <button icon='gtk-cancel' special="cancel"
52 <button name="do_move_consume" string="Ok"
53 colspan="1" type="object" icon="gtk-ok" />
59 <record id="move_consume" model="ir.actions.act_window">
60 <field name="name">Consume Move</field>
61 <field name="type">ir.actions.act_window</field>
62 <field name="res_model">stock.move.consume</field>
63 <field name="view_type">form</field>
64 <field name="view_mode">form</field>
65 <field name="target">new</field>
68 <record id="view_stock_move_scrap_wizard" model="ir.ui.view">
69 <field name="name">Scrap Move</field>
70 <field name="model">stock.move.scrap</field>
71 <field name="type">form</field>
72 <field name="arch" type="xml">
73 <form string="Scrap Move">
74 <separator string="Scrap Products" colspan="4"/>
75 <field name="product_id" colspan="4" readonly="1"/>
76 <field name="location_id" colspan="4" string="Scrap Location" domain="[('usage','<>','view'),('scrap_location','=',True)]" widget="selection"/>
77 <field name="product_qty" colspan="2"/>
78 <field name="product_uom" nolabel="1" readonly="1"/>
80 <separator string="" colspan="4" />
81 <label string="" colspan="2" />
82 <group col="2" colspan="1">
83 <button icon='gtk-cancel' special="cancel"
85 <button name="move_scrap" string="Ok"
86 colspan="1" type="object" icon="gtk-ok" />
92 <record id="move_scrap" model="ir.actions.act_window">
93 <field name="name">Scrap Move</field>
94 <field name="type">ir.actions.act_window</field>
95 <field name="res_model">stock.move.scrap</field>
96 <field name="view_type">form</field>
97 <field name="view_mode">form</field>
98 <field name="target">new</field>
101 <record id="view_split_in_lots" model="ir.ui.view">
102 <field name="name">Split in lots</field>
103 <field name="model">stock.move.split</field>
104 <field name="type">form</field>
105 <field name="arch" type="xml">
106 <form string="Split in lots">
107 <group width="660" height="275">
108 <field name="product_id" colspan="4" readonly="1"/>
110 <group colspan="4" col="4">
111 <group colspan="1" col="2">
112 <field name="use_exist"/>
114 <group colspan="1" col="2">
115 <field name="qty" readonly="1"/>
117 <group colspan="1" col="2">
118 <field name="product_uom" readonly="1"/>
122 <group colspan="4" attrs="{'invisible':[('use_exist','=',True)]}">
123 <field name="line_ids" colspan="4" nolabel="1">
124 <tree string="Production Lot Numbers" editable="bottom">
125 <field name="name" string="Lots"/>
126 <field name="quantity" />
128 <form string="Production Lot Number">
129 <field name="name" string="Lot number"/>
130 <field name="quantity" />
134 <group colspan="4" attrs="{'invisible':[('use_exist','!=',True)]}">
135 <field name="line_exist_ids" colspan="4" nolabel="1">
136 <tree string="Production Lot Numbers" editable="bottom">
137 <field name="prodlot_id" string="Lot number" domain="[('product_id','=',parent.product_id)]"/>
138 <field name="quantity" />
140 <form string="Production Lot Number">
141 <field name="prodlot_id" string="Lot number" domain="[('product_id','=',parent.product_id)]"/>
142 <field name="quantity" />
146 <separator string="" colspan="4" />
147 <label string="" colspan="2" />
148 <button icon='gtk-cancel' special="cancel"
150 <button name="split_lot" string="Ok"
151 type="object" icon="gtk-ok" />
157 <record id="track_line" model="ir.actions.act_window">
158 <field name="name">Split in lots</field>
159 <field name="type">ir.actions.act_window</field>
160 <field name="res_model">stock.move.split</field>
161 <field name="view_type">form</field>
162 <field name="view_mode">form</field>
163 <field name="target">new</field>