diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index fd10dff1c95..272933018ad 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -790,7 +790,7 @@ class account_move_line(osv.osv): result = super(osv.osv, self).fields_view_get(cr, uid, view_id,view_type,context,toolbar=toolbar, submenu=submenu) if view_type != 'tree': return result - + fld = [] fields = {} flds = [] @@ -800,12 +800,12 @@ class account_move_line(osv.osv): ids = journal_pool.search(cr, uid, []) journals = journal_pool.browse(cr, uid, ids) - all_journal = [] + all_journal = [None] for journal in journals: all_journal.append(journal.id) for field in journal.view_id.columns_id: if not field.field in fields: - fields[field.field] = [journal.id] + fields[field.field] = [None, journal.id] fld.append((field.field, field.sequence)) flds.append(field.field) else: diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index fb449ba722f..809927dbabf 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -952,7 +952,7 @@ - + diff --git a/addons/account_voucher_payment/__init__.py b/addons/account_voucher_payment/__init__.py index 75d9f73de64..ad7558e11ee 100755 --- a/addons/account_voucher_payment/__init__.py +++ b/addons/account_voucher_payment/__init__.py @@ -19,6 +19,6 @@ # ############################################################################## import account_voucher_payment -import account_voucher_unreconcile +import wizard # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account_voucher_payment/__openerp__.py b/addons/account_voucher_payment/__openerp__.py index bb1dfcc0d15..6d5e4d85f57 100755 --- a/addons/account_voucher_payment/__openerp__.py +++ b/addons/account_voucher_payment/__openerp__.py @@ -38,8 +38,9 @@ "demo_xml" : [], "update_xml" : [ - "account_voucher_payment_wizard.xml", - "account_voucher_payment_view.xml" + "wizard/account_voucher_unreconcile_view.xml", + "account_voucher_payment_view.xml", + ], "test" : [ # "test/account_voucher.yml", diff --git a/addons/account_voucher_payment/account_voucher_payment_view.xml b/addons/account_voucher_payment/account_voucher_payment_view.xml index 7969e9dbfca..5d611131527 100755 --- a/addons/account_voucher_payment/account_voucher_payment_view.xml +++ b/addons/account_voucher_payment/account_voucher_payment_view.xml @@ -70,7 +70,7 @@ diff --git a/addons/account_voucher_payment/account_voucher_payment_wizard.xml b/addons/account_voucher_payment/account_voucher_payment_wizard.xml deleted file mode 100644 index 2f961994fbd..00000000000 --- a/addons/account_voucher_payment/account_voucher_payment_wizard.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - diff --git a/addons/account_voucher_payment/account_voucher_unreconcile.py b/addons/account_voucher_payment/account_voucher_unreconcile.py deleted file mode 100644 index f36af98dc1c..00000000000 --- a/addons/account_voucher_payment/account_voucher_unreconcile.py +++ /dev/null @@ -1,56 +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 - -_info_form = ''' -
- - -