From f44d217377d95356d76fd465c6fcd0dee21a90da Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Thu, 10 Apr 2014 13:25:36 +0200 Subject: [PATCH] [IMP] Change Generating Accounting Entries to something in stock_account which has a group as before, also stock_invoice_directly goes with it bzr revid: jco@openerp.com-20140410112536-2texx37zzrzqbibp --- addons/stock/res_config.py | 6 --- addons/stock/res_config_view.xml | 17 +------- addons/stock_account/__init__.py | 2 +- addons/stock_account/__openerp__.py | 1 + addons/stock_account/product_view.xml | 2 +- addons/stock_account/res_config.py | 39 +++++++++++++++++++ addons/stock_account/res_config_view.xml | 27 +++++++++++++ .../security/stock_account_security.xml | 4 ++ 8 files changed, 75 insertions(+), 23 deletions(-) create mode 100644 addons/stock_account/res_config.py create mode 100644 addons/stock_account/res_config_view.xml 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..6d7aaff9ac4 100644 --- a/addons/stock/res_config_view.xml +++ b/addons/stock/res_config_view.xml @@ -23,7 +23,7 @@