diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml
index 264aad7ebc5..94fb456d3b8 100644
--- a/addons/product/security/product_security.xml
+++ b/addons/product/security/product_security.xml
@@ -27,11 +27,6 @@
-
- Costing Method
-
-
-
Manage Multiple Units of Measure
diff --git a/addons/product_extended/product_extended_view.xml b/addons/product_extended/product_extended_view.xml
index fe6b982cea2..01432a9358b 100644
--- a/addons/product_extended/product_extended_view.xml
+++ b/addons/product_extended/product_extended_view.xml
@@ -10,7 +10,7 @@
+ groups="stock_account.group_inventory_valuation"/>
diff --git a/addons/purchase/res_config.py b/addons/purchase/res_config.py
index eeecd85180e..50525b165b6 100644
--- a/addons/purchase/res_config.py
+++ b/addons/purchase/res_config.py
@@ -39,8 +39,8 @@ class purchase_config_settings(osv.osv_memory):
'group_uom':fields.boolean("Manage different units of measure for products",
implied_group='product.group_uom',
help="""Allows you to select and maintain different units of measure for products."""),
- 'group_costing_method':fields.boolean("The default costing method applied to all products",
- implied_group='product.group_costing_method',
+ 'group_costing_method':fields.boolean("Use 'Real Price' or 'Average' costing methods.",
+ implied_group='stock_account.group_inventory_valuation',
help="""Allows you to compute product cost price based on average cost."""),
'module_warning': fields.boolean("Alerts by products or supplier",
help='Allow to configure notification on products and trigger them when a user wants to purchase a given product or a given supplier.\n'
diff --git a/addons/stock/res_config.py b/addons/stock/res_config.py
index d9ad9ea1001..9f3a373020d 100644
--- a/addons/stock/res_config.py
+++ b/addons/stock/res_config.py
@@ -45,10 +45,6 @@ class stock_config_settings(osv.osv_memory):
'module_claim_from_delivery': fields.boolean("Allow claim on deliveries",
help='Adds a Claim link to the delivery order.\n'
'-This installs the module claim_from_delivery.'),
- 'module_stock_invoice_directly': fields.boolean("Create and open the invoice when the user finish a delivery order",
- help='This allows to automatically launch the invoicing wizard if the delivery is '
- 'to be invoiced when you send or deliver goods.\n'
- '-This installs the module stock_invoice_directly.'),
'module_product_expiry': fields.boolean("Expiry date on serial numbers",
help="""Track different dates on products and serial numbers.
The following dates can be tracked:
@@ -76,8 +72,6 @@ This installs the module product_expiry."""),
'group_stock_tracking_owner': fields.boolean("Manage owner on stock",
implied_group='stock.group_tracking_owner',
help="""This way you can receive products attributed to a certain owner. """),
- 'module_stock_account': fields.boolean("Generate accounting entries per stock movement",
- help="""Allows to configure inventory valuations on products and product categories."""),
'group_stock_multiple_locations': fields.boolean("Manage multiple locations and warehouses",
implied_group='stock.group_locations',
help="""This will show you the locations and allows you to define multiple picking types and warehouses."""),
diff --git a/addons/stock/res_config_view.xml b/addons/stock/res_config_view.xml
index 6817c2a6477..140ab36c774 100644
--- a/addons/stock/res_config_view.xml
+++ b/addons/stock/res_config_view.xml
@@ -23,7 +23,7 @@
-
+
@@ -73,7 +73,7 @@
26
-
+
diff --git a/addons/stock_account/res_config.py b/addons/stock_account/res_config.py
new file mode 100644
index 00000000000..bcbbab1d641
--- /dev/null
+++ b/addons/stock_account/res_config.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Business Applications
+# Copyright (C) 2004-2012 OpenERP S.A. ().
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from openerp.osv import fields, osv
+
+
+
+class stock_config_settings(osv.osv_memory):
+ _inherit = 'stock.config.settings'
+
+ _columns = {
+ 'group_stock_inventory_valuation': fields.boolean("Generate accounting entries per stock movement",
+ implied_group='stock_account.group_inventory_valuation',
+ help="""Allows to configure inventory valuations on products and product categories."""),
+ 'module_stock_invoice_directly': fields.boolean("Create and open the invoice when the user finish a delivery order",
+ help='This allows to automatically launch the invoicing wizard if the delivery is '
+ 'to be invoiced when you send or deliver goods.\n'
+ '-This installs the module stock_invoice_directly.'),
+ }
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/stock_account/res_config_view.xml b/addons/stock_account/res_config_view.xml
new file mode 100644
index 00000000000..9ed855fc170
--- /dev/null
+++ b/addons/stock_account/res_config_view.xml
@@ -0,0 +1,27 @@
+
+
+
+ stock.config.settings.inherit
+ stock.config.settings
+
+
+
+
+
+
+