[IMP] stock, stock_picking_batch: improve tree, form view of product moves and menus

This commit is contained in:
Haresh Shyara
2017-08-30 21:17:33 -07:00
committed by Joren Van Onder
parent 23e77b8033
commit fe77df3ba4
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -9,10 +9,11 @@
<field name="picking_id" string="Reference"/>
<field name="create_date" invisible="1" groups="base.group_no_one"/>
<field name="product_id"/>
<field name="product_uom_qty"/>
<field name="product_uom_id" options="{'no_open': True, 'no_create': True}" string="Unit of Measure" groups="product.group_uom"/>
<field name="location_id"/>
<field name="location_dest_id"/>
<field name="product_uom_qty"/>
<field name="qty_done" string="Quantity Done"/>
<field name="product_uom_id" options="{'no_open': True, 'no_create': True}" string="Unit of Measure" groups="product.group_uom"/>
<field name="state"/>
</tree>
</field>
@@ -29,7 +30,7 @@
<group>
<group>
<field name="date" groups="base.group_no_one"/>
<field name="picking_id"/>
<field name="picking_id" string="Reference"/>
<field name="product_id"/>
<field name="location_id" groups="stock.group_stock_multi_locations"/>
<field name="location_dest_id" groups="stock.group_stock_multi_locations"/>
@@ -45,7 +46,6 @@
<field name="qty_done"/>
<field name="product_uom_id" options="{'no_create': True}" string="Unit of Measure" groups="product.group_uom"/>
</div>
<field name="create_date" groups="base.group_no_one"/>
</group>
</group>
</sheet>
@@ -97,7 +97,7 @@
</field>
</record>
<record id="stock_picking_batch_action" model="ir.actions.act_window">
<field name="name">Batch Picking</field>
<field name="name">Batch Pickings</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.picking.batch</field>
<field name="view_type">form</field>
@@ -115,7 +115,7 @@
</p>
</field>
</record>
<menuitem action="stock_picking_batch_action" id="stock_picking_batch_menu" parent="stock.stock_picking_menu_product" sequence="2"/>
<menuitem action="stock_picking_batch_action" id="stock_picking_batch_menu" parent="stock.stock_picking_menu_product" sequence="10"/>
<record id="vpicktree_inherit_stock_picking_batch" model="ir.ui.view">
<field name="name">stock.picking.tree</field>