From cae74718a64e45594a0b9741b32884113ee893dc Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert Date: Mon, 23 Sep 2013 09:41:22 +0200 Subject: [PATCH] [FIX]improve views bzr revid: csn@openerp.com-20130923074122-qydjm9coe8ndmxlo --- .../sale_stock_location_view.xml | 2 +- addons/stock/stock_view.xml | 18 ++++----- addons/stock_location/stock_location.py | 7 ++-- addons/stock_location/stock_location_view.xml | 37 ++++++++++--------- 4 files changed, 34 insertions(+), 30 deletions(-) diff --git a/addons/sale_stock_location/sale_stock_location_view.xml b/addons/sale_stock_location/sale_stock_location_view.xml index 07590c31ba2..63503ba1472 100644 --- a/addons/sale_stock_location/sale_stock_location_view.xml +++ b/addons/sale_stock_location/sale_stock_location_view.xml @@ -45,7 +45,7 @@ stock.location.route - + diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index ca8172e0b87..d2a12a9cf81 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -1807,15 +1807,15 @@
-
-

-

-

- -

-
- + + + + + + + + + diff --git a/addons/stock_location/stock_location.py b/addons/stock_location/stock_location.py index db5ef8517d7..6d10ac03373 100644 --- a/addons/stock_location/stock_location.py +++ b/addons/stock_location/stock_location.py @@ -41,15 +41,16 @@ class stock_location_route(osv.osv): class stock_warehouse(osv.osv): _inherit = 'stock.warehouse' _columns = { - 'route_id': fields.many2one('stock.location.route', 'Default Route', domain="[('warehouse_selectable', '=', True)]", help='Default route through the warehouse'), + 'route_id': fields.many2one('stock.location.route', 'Default Delivery Route', domain="[('warehouse_selectable', '=', True)]", help='Default route through the warehouse'), } class stock_location_path(osv.osv): _name = "stock.location.path" _description = "Pushed Flows" + _order = "name" _columns = { - 'name': fields.char('Operation', size=64, required=True), + 'name': fields.char('Operation Name', size=64, required=True), 'company_id': fields.many2one('res.company', 'Company'), 'route_id': fields.many2one('stock.location.route', 'Route'), 'location_from_id': fields.many2one('stock.location', 'Source Location', ondelete='cascade', select=1, required=True), @@ -60,7 +61,7 @@ class stock_location_path(osv.osv): ("2binvoiced", "To Be Invoiced"), ("none", "Not Applicable")], "Invoice Status", required=True,), - 'picking_type_id': fields.many2one('stock.picking.type', 'Picking Type', required=True, help="This is the picking type associated with the different pickings"), + 'picking_type_id': fields.many2one('stock.picking.type', 'Type of the new Operation', required=True, help="This is the picking type associated with the different pickings"), 'auto': fields.selection( [('auto','Automatic Move'), ('manual','Manual Operation'),('transparent','Automatic No Step Added')], 'Automatic Move', diff --git a/addons/stock_location/stock_location_view.xml b/addons/stock_location/stock_location_view.xml index a8cd0ce81bc..899ddfb7c0d 100644 --- a/addons/stock_location/stock_location_view.xml +++ b/addons/stock_location/stock_location_view.xml @@ -101,15 +101,17 @@ - - - - - - - - - + + + + + + + + + + + @@ -125,7 +127,6 @@

- The routes on this category are:

@@ -140,7 +141,7 @@ Removal strategies define the method used for suggesting the location to take the products from

- + @@ -156,7 +157,7 @@ Putaway strategies define the method used for suggesting the location to put the products

- + @@ -199,14 +200,16 @@ stock.location.route - - + + +

Check these box so that the user can select this route during the following operations

+ - - + + - +