From 45a182bda9692c04b7d4092fd1e8e5dbea1c2e9c Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Tue, 3 Apr 2012 11:39:18 +0200 Subject: [PATCH] [IMP] stock.config.settings: replace fields 'stock counterpart' and 'stock location' by 'manage multiple locations and warehouses' bzr revid: rco@openerp.com-20120403093918-ihfop0lj81f5uvsl --- addons/stock/partner_view.xml | 28 ++++++++++++------------ addons/stock/product_view.xml | 14 ++++++------ addons/stock/res_config.py | 10 ++++----- addons/stock/res_config_view.xml | 5 ++--- addons/stock/security/stock_security.xml | 9 ++------ 5 files changed, 29 insertions(+), 37 deletions(-) diff --git a/addons/stock/partner_view.xml b/addons/stock/partner_view.xml index a70610f9311..5a90c20aa81 100644 --- a/addons/stock/partner_view.xml +++ b/addons/stock/partner_view.xml @@ -6,20 +6,20 @@ --> - res.partner.stock.property.form.inherit - res.partner - form - - - - - - - - - - + res.partner.stock.property.form.inherit + res.partner + form + + + + + + + + + + - \ No newline at end of file + diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index 8ac755af498..19533933002 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -40,12 +40,12 @@ form - + - - - - + + + + @@ -79,7 +79,7 @@ 26 - + @@ -169,7 +169,7 @@ - + diff --git a/addons/stock/res_config.py b/addons/stock/res_config.py index 2cd0bc510a0..7a887192ff7 100644 --- a/addons/stock/res_config.py +++ b/addons/stock/res_config.py @@ -72,12 +72,10 @@ class stock_config_settings(osv.osv_memory): 'group_stock_inventory_valuation': fields.boolean("Accounting Entries per Stock Movement", implied_group='stock.group_inventory_valuation', help="""This allows to split stock inventory lines according to production lots."""), - 'group_stock_counterpart_location': fields.boolean("Manage your stock counterpart by products", - implied_group='stock.group_counterpart_location', - help="""This allows to use different stock locations instead of the default one for procurement, production and inventory."""), - 'group_stock_inventory_properties': fields.boolean("Define stock locations", - implied_group='stock.group_inventory_properties', - help="""This allows you to set destination location for goods you send to partner, or goods you receive from the current partner."""), + 'group_stock_multiple_locations': fields.boolean("Manage Multiple Locations and Warehouses", + implied_group='stock.group_locations', + help="""This allows to configure and use multiple stock locations and warehouses, + instead of having a single default one."""), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/stock/res_config_view.xml b/addons/stock/res_config_view.xml index 7ff8dfe624a..eac77abedf6 100644 --- a/addons/stock/res_config_view.xml +++ b/addons/stock/res_config_view.xml @@ -16,11 +16,10 @@ + - - - + diff --git a/addons/stock/security/stock_security.xml b/addons/stock/security/stock_security.xml index 11a0acc02d0..6367ed8668f 100644 --- a/addons/stock/security/stock_security.xml +++ b/addons/stock/security/stock_security.xml @@ -27,13 +27,8 @@ - - Manage Counter-Part Locations - - - - - Manage Inventory properties in partner form + + Manage Multiple Locations and Warehouses