summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorMansi Gandhi <mag@odoo.com>2016-05-24 13:01:35 +0530
committerYannick Tivisse <yti@odoo.com>2016-06-07 10:44:49 +0200
commitb656d5b28154e3a1f6624a79e1246768a2b3caaa (patch)
tree3d3bb73c4167c290b5520859588e80598be310f7 /addons
parent99d5b5afcef5fd47e774798d771c811830e2a794 (diff)
[IMP] stock: Improve Picking wave usability
Remove no_one group on the Picking waves menu entry. Add a search on the picking waves in the transfer lists. Remove the 'Print all Picking' button and add primary button which is 'PRINT' button.
Diffstat (limited to 'addons')
-rw-r--r--addons/stock/views/stock_menu_views.xml2
-rw-r--r--addons/stock_picking_wave/views/stock_picking_wave_views.xml7
2 files changed, 5 insertions, 4 deletions
diff --git a/addons/stock/views/stock_menu_views.xml b/addons/stock/views/stock_menu_views.xml
index 7484db4d3b5..c05158ae19f 100644
--- a/addons/stock/views/stock_menu_views.xml
+++ b/addons/stock/views/stock_menu_views.xml
@@ -4,7 +4,7 @@
groups="group_stock_manager,group_stock_user"
icon="fa-archive" web_icon="stock,static/description/icon.png"/>
- <menuitem id="menu_stock_warehouse_mgmt" name="Operations" parent="menu_stock_root" sequence="2" groups="base.group_no_one"/>
+ <menuitem id="menu_stock_warehouse_mgmt" name="Operations" parent="menu_stock_root" sequence="2"/>
<menuitem id="menu_stock_config_settings" name="Configuration" parent="menu_stock_root"
sequence="100" groups="group_stock_manager"/>
diff --git a/addons/stock_picking_wave/views/stock_picking_wave_views.xml b/addons/stock_picking_wave/views/stock_picking_wave_views.xml
index 33c0d3b1e85..6d1f8d49c77 100644
--- a/addons/stock_picking_wave/views/stock_picking_wave_views.xml
+++ b/addons/stock_picking_wave/views/stock_picking_wave_views.xml
@@ -7,14 +7,12 @@
<form string="Stock Picking Waves">
<header>
<button name="confirm_picking" states="draft" string="Confirm" type="object" class="oe_highlight"/>
+ <button name="print_picking" string="Print" type="object" class="oe_highlight"/>
<button name="done" states="in_progress" string="Done" type="object" class="oe_highlight"/>
<button name="cancel_picking" string="Cancel" type="object" states="in_progress"/>
<field name="state" widget="statusbar" statusbar_visible="in_progress,done"/>
</header>
<sheet>
- <div class="oe_button_box" name="button_box">
- <button name="print_picking" string="Print all pickings" type="object"/>
- </div>
<div class="oe_title">
<h1>
<field name="name" class="oe_inline" readonly="1"/>
@@ -124,6 +122,9 @@
<xpath expr="//filter[@name='picking_type']" position="after">
<filter string="Wave" domain="[]" context="{'group_by':'wave_id'}"/>
</xpath>
+ <xpath expr="//field[@name='picking_type_id']" position="after">
+ <field name="wave_id"/>
+ </xpath>
</field>
</record>