2010-02-19 10:51:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="view_stock_move_track_wizard" model="ir.ui.view">
|
|
|
|
<field name="name">Tracking a move</field>
|
|
|
|
<field name="model">stock.move.track</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Tracking a move">
|
|
|
|
<field name="tracking_prefix" colspan="4"/>
|
|
|
|
<field name="quantity" colspan="4"/>
|
|
|
|
<newline/>
|
|
|
|
<separator string="" colspan="4" />
|
|
|
|
<button icon='gtk-cancel' special="cancel"
|
|
|
|
string="Cancel" />
|
|
|
|
<button name="track_lines" string="Ok"
|
|
|
|
type="object" icon="gtk-ok" />
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-02-19 13:44:55 +00:00
|
|
|
<record id="track_line_old" model="ir.actions.act_window">
|
2010-02-19 10:51:45 +00:00
|
|
|
<field name="name">Tracking a move</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.move.track</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Consume, scrap move -->
|
|
|
|
|
|
|
|
<record id="view_stock_move_consume_wizard" model="ir.ui.view">
|
|
|
|
<field name="name">Consume Move</field>
|
|
|
|
<field name="model">stock.move.consume</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Consume Move">
|
|
|
|
<separator string="Consume Products" colspan="4"/>
|
|
|
|
<field name="product_id" colspan="4" readonly="1"/>
|
2010-05-04 11:14:19 +00:00
|
|
|
<field name="location_id" colspan="4" widget="selection"/>
|
2010-02-19 10:51:45 +00:00
|
|
|
<field name="product_qty" colspan="2"/>
|
|
|
|
<field name="product_uom" nolabel="1" readonly="1"/>
|
|
|
|
<newline/>
|
|
|
|
<separator string="" colspan="4" />
|
|
|
|
<label string="" colspan="2" />
|
|
|
|
<group col="2" colspan="1">
|
|
|
|
<button icon='gtk-cancel' special="cancel"
|
|
|
|
string="Cancel" />
|
2010-02-19 13:44:55 +00:00
|
|
|
<button name="do_move_consume" string="Ok"
|
2010-02-19 10:51:45 +00:00
|
|
|
colspan="1" type="object" icon="gtk-ok" />
|
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="move_consume" model="ir.actions.act_window">
|
|
|
|
<field name="name">Consume Move</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.move.consume</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_stock_move_scrap_wizard" model="ir.ui.view">
|
|
|
|
<field name="name">Scrap Move</field>
|
|
|
|
<field name="model">stock.move.scrap</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Scrap Move">
|
|
|
|
<separator string="Scrap Products" colspan="4"/>
|
|
|
|
<field name="product_id" colspan="4" readonly="1"/>
|
2010-05-05 12:10:31 +00:00
|
|
|
<field name="location_id" colspan="4" string="Dest. Location" domain="[('usage','<>','view'),('scrap_location','=',True)]" widget="selection"/>
|
2010-02-19 10:51:45 +00:00
|
|
|
<field name="product_qty" colspan="2"/>
|
|
|
|
<field name="product_uom" nolabel="1" readonly="1"/>
|
|
|
|
<newline/>
|
|
|
|
<separator string="" colspan="4" />
|
|
|
|
<label string="" colspan="2" />
|
|
|
|
<group col="2" colspan="1">
|
|
|
|
<button icon='gtk-cancel' special="cancel"
|
|
|
|
string="Cancel" />
|
|
|
|
<button name="move_scrap" string="Ok"
|
|
|
|
colspan="1" type="object" icon="gtk-ok" />
|
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="move_scrap" model="ir.actions.act_window">
|
|
|
|
<field name="name">Scrap Move</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">stock.move.scrap</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
2010-02-19 13:44:55 +00:00
|
|
|
<record id="view_split_in_lots" model="ir.ui.view">
|
|
|
|
<field name="name">Split in lots</field>
|
2010-03-05 10:08:13 +00:00
|
|
|
<field name="model">stock.move.split</field>
|
2010-02-19 13:44:55 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-06-15 20:43:32 +00:00
|
|
|
<form string="Split in lots">
|
|
|
|
<field name="product_id" colspan="4" readonly="1"/>
|
|
|
|
<newline/>
|
|
|
|
<group colspan="4" col="4">
|
|
|
|
<group colspan="1" col="2">
|
|
|
|
<field name="use_exist"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="1" col="2">
|
|
|
|
<field name="qty" readonly="1"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="1" col="2">
|
|
|
|
<field name="product_uom" readonly="1"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
|
2010-06-10 08:59:12 +00:00
|
|
|
<group colspan="4" attrs="{'invisible':[('use_exist','=',True)]}">
|
2010-02-19 13:44:55 +00:00
|
|
|
<field name="line_ids" colspan="4" nolabel="1">
|
2010-06-16 13:26:09 +00:00
|
|
|
<tree string="Lots Number" editable="bottom">
|
2010-02-19 13:44:55 +00:00
|
|
|
<field name="name" string="Lots"/>
|
|
|
|
<field name="quantity" />
|
|
|
|
</tree>
|
|
|
|
<form string="Lots Number">
|
|
|
|
<field name="name" string="Lots"/>
|
|
|
|
<field name="quantity" />
|
|
|
|
</form>
|
|
|
|
</field>
|
2010-06-10 08:59:12 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="4" attrs="{'invisible':[('use_exist','!=',True)]}">
|
|
|
|
<field name="line_exist_ids" colspan="4" nolabel="1">
|
2010-06-16 13:26:09 +00:00
|
|
|
<tree string="Lots Number" editable="bottom">
|
2010-06-10 12:33:48 +00:00
|
|
|
<field name="prodlot_id" string="Lots" domain="[('product_id','=',parent.product_id)]"/>
|
2010-06-10 08:59:12 +00:00
|
|
|
<field name="quantity" />
|
|
|
|
</tree>
|
|
|
|
<form string="Lots Number">
|
2010-06-10 12:33:48 +00:00
|
|
|
<field name="prodlot_id" string="Lots" domain="[('product_id','=',parent.product_id)]"/>
|
2010-06-10 08:59:12 +00:00
|
|
|
<field name="quantity" />
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</group>
|
2010-02-19 13:44:55 +00:00
|
|
|
<separator string="" colspan="4" />
|
|
|
|
<label string="" colspan="2" />
|
|
|
|
<button icon='gtk-cancel' special="cancel"
|
|
|
|
string="Cancel" />
|
|
|
|
<button name="split_lot" string="Ok"
|
|
|
|
type="object" icon="gtk-ok" />
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="track_line" model="ir.actions.act_window">
|
|
|
|
<field name="name">Split in lots</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
2010-03-05 10:08:13 +00:00
|
|
|
<field name="res_model">stock.move.split</field>
|
2010-02-19 13:44:55 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
2010-02-23 05:34:00 +00:00
|
|
|
</record>
|
2010-02-19 13:44:55 +00:00
|
|
|
|
2010-02-19 10:51:45 +00:00
|
|
|
</data>
|
2010-02-23 05:34:00 +00:00
|
|
|
</openerp>
|