1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="action_partial_picking" model="ir.actions.act_window">
5 <field name="name">Process Picking</field>
6 <field name="res_model">stock.partial.picking</field>
7 <field name="view_type">form</field>
8 <field name="view_mode">form</field>
9 <field name="target">new</field>
12 <!-- this view of stock.partial.picking wizard is dedicated to internal picking. The fields_view_get is ovveridden in order to change the label of the process button and the separator. -->
13 <record id="stock_partial_picking_form" model="ir.ui.view">
14 <field name="name">stock.partial.picking.form</field>
15 <field name="model">stock.partial.picking</field>
16 <field name="type">form</field>
17 <field name="arch" type="xml">
20 <button name="do_partial" string="_Transfer" type="object" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
23 <field name="hide_tracking" invisible="1"/>
24 <separator string="Transfer Products" name="product_separator"/>
26 <field name="move_ids" context="{'hide_tracking': hide_tracking}">
27 <tree editable="bottom" string="Product Moves">
28 <field name="product_id" />
29 <field name="quantity" />
30 <field name="product_uom" />
31 <field name="tracking" invisible="1"/>
32 <field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True)]}" groups="stock.group_production_lot"/>
33 <!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
34 <field name="update_cost" invisible="1"/>
35 <field name="cost" invisible="1"/>
36 <field name="currency" invisible="1"/>
43 <record id="stock_partial_picking_line_list" model="ir.ui.view">
44 <field name="name">stock.partial.picking.line.list</field>
45 <field name="model">stock.partial.picking.line</field>
46 <field name="type">tree</field>
47 <field name="arch" type="xml">
48 <tree editable="bottom" string="Product Moves">
49 <field name="product_id" />
50 <field name="quantity" />
51 <field name="product_uom" />
52 <field name="tracking" invisible="1"/>
53 <field name="prodlot_id" domain="[('product_id', '=', product_id)]" attrs="{'required':[('tracking','=',True)]}"/>
54 <!-- Removed as this feature is not logic: price must be updated upon reception of invoice -->
55 <field name="update_cost" invisible="1"/>
56 <field name="cost" invisible="1"/>
57 <field name="currency" invisible="1"/>
61 <record id="stock_partial_picking_line_form" model="ir.ui.view">
62 <field name="name">stock.partial.picking.line.form</field>
63 <field name="model">stock.partial.picking.line</field>
64 <field name="type">form</field>
65 <field name="arch" type="xml">
68 <field name="product_id" />
69 <field name="quantity" />
70 <field name="product_uom" />
71 <field name="location_id" />
72 <field name="location_dest_id" />
73 <field name="tracking" invisible="1"/>
74 <field name="prodlot_id" domain="[('product_id', '=', product_id)]" attrs="{'required':[('tracking','=',True)]}"/>
75 <field name="update_cost" invisible="1"/>
76 <field name="cost" attrs="{'invisible': [('update_cost','=', False)]}"/>
77 <field name="currency" attrs="{'invisible': [('update_cost','=', False)]}"/>