diff --git a/addons/purchase/res_config.py b/addons/purchase/res_config.py
index d4baa2d6099..8ee97f52030 100644
--- a/addons/purchase/res_config.py
+++ b/addons/purchase/res_config.py
@@ -48,13 +48,7 @@ class purchase_config_settings(osv.osv_memory):
help="""Allow to configure warnings on products and trigger them when a user wants to purchase a given product or a given supplier.
Example: Product: this product is deprecated, do not purchase more than 5.
Supplier: don't forget to ask for an express delivery."""),
- 'module_product_manufacturer': fields.boolean("Define Manufacturers on Products",
- help="""This allows you to define the following for a product:
- * Manufacturer
- * Manufacturer Product Name
- * Manufacturer Product Code
- * Product Attributes.
- This installs the module product_manufacturer."""),
+
'module_purchase_double_validation': fields.boolean("Two Levels of Approval",
help="""Provide a double validation mechanism for purchases exceeding minimum amount.
This installs the module purchase_double_validation."""),
@@ -89,5 +83,16 @@ class account_config_settings(osv.osv_memory):
implied_group='purchase.group_analytic_accounting',
help="Allows you to specify an analytic account on purchase orders."),
}
+class stock_config_settings(osv.osv_memory):
+ _inherit = 'stock.config.settings'
+ _columns = {
+ 'module_product_manufacturer': fields.boolean("Define Manufacturers on Products",
+ help="""This allows you to define the following for a product:
+ * Manufacturer
+ * Manufacturer Product Name
+ * Manufacturer Product Code
+ * Product Attributes.
+ This installs the module product_manufacturer."""),
+ }
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/purchase/res_config_view.xml b/addons/purchase/res_config_view.xml
index 575863fddc4..3b6acff5340 100644
--- a/addons/purchase/res_config_view.xml
+++ b/addons/purchase/res_config_view.xml
@@ -15,7 +15,7 @@
-
+
@@ -23,9 +23,8 @@
-
-
-
+
+
@@ -58,6 +57,22 @@
+
+
+ stock settings
+ stock.config.settings
+ form
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/stock/res_config_view.xml b/addons/stock/res_config_view.xml
index 7d17d9eec50..6929154986c 100644
--- a/addons/stock/res_config_view.xml
+++ b/addons/stock/res_config_view.xml
@@ -14,27 +14,33 @@
-
-
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
+
+
+