diff --git a/addons/account_asset/__openerp__.py b/addons/account_asset/__openerp__.py index dd1161e1a14..f3d00b08893 100644 --- a/addons/account_asset/__openerp__.py +++ b/addons/account_asset/__openerp__.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (). # @@ -15,7 +15,7 @@ # 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 . +# along with this program. If not, see . # ############################################################################## @@ -25,7 +25,7 @@ "depends" : ["account"], "author" : "OpenERP S.A.", "description": """Financial and accounting asset management. - This Module manages the assets owned by a company or an individual. It will keep track of depreciation's occurred on + This Module manages the assets owned by a company or an individual. It will keep track of depreciation's occurred on those assets. And it allows to create Move's of the depreciation lines. """, "website" : "http://www.openerp.com", @@ -45,7 +45,7 @@ "account_asset_view.xml", "account_asset_invoice_view.xml", "report/account_asset_report_view.xml", - + ], "active": False, "installable": True, diff --git a/addons/account_asset/wizard/__init__.py b/addons/account_asset/wizard/__init__.py index 0d2ce9879ad..45d83921a69 100755 --- a/addons/account_asset/wizard/__init__.py +++ b/addons/account_asset/wizard/__init__.py @@ -18,9 +18,8 @@ # along with this program. If not, see . # ############################################################################## + import account_asset_change_duration import wizard_asset_compute -import wizard_asset_close # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - diff --git a/addons/account_asset/wizard/wizard_asset_close.py b/addons/account_asset/wizard/wizard_asset_close.py deleted file mode 100755 index 0d274585036..00000000000 --- a/addons/account_asset/wizard/wizard_asset_close.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (). -# -# 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 . -# -############################################################################## - -import wizard -import pooler - -asset_end_arch = ''' -
- -''' - -asset_end_fields = { -} - -class wizard_asset_close(wizard.interface): - states = { - 'init': { - 'actions': [], - 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[ - ('end','Cancel'), - ('asset_close','End of asset') - ]} - }, - 'asset_close': { - 'actions': [], - 'result': {'type' : 'state', 'state': 'end'} - } - } -wizard_asset_close('account.asset.close') - - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: -