From d6eb52eb5e65cb7d283a58c8b562c5c1f157332a Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Wed, 10 Mar 2010 14:20:16 +0530 Subject: [PATCH] [IMP]: sale: Converted wizards to osv_memory wizards bzr revid: rpa@tinyerp.com-20100310085016-ww0jyuowcqib3zdd --- addons/sale/__terp__.py | 6 +- addons/sale/sale_view.xml | 17 +- addons/sale/sale_wizard.xml | 18 +- addons/sale/wizard/__init__.py | 11 +- addons/sale/wizard/make_invoice_advance.py | 157 ------------------ addons/sale/wizard/sale_line_invoice.py | 100 +++++++++++ addons/sale/wizard/sale_line_invoice.xml | 40 +++++ .../sale/wizard/sale_make_invoice_advance.py | 154 +++++++++++++++++ .../sale/wizard/sale_make_invoice_advance.xml | 70 ++++++++ .../sale/wizard/wizard_sale_line_invoice.py | 121 -------------- 10 files changed, 396 insertions(+), 298 deletions(-) delete mode 100644 addons/sale/wizard/make_invoice_advance.py create mode 100644 addons/sale/wizard/sale_line_invoice.py create mode 100644 addons/sale/wizard/sale_line_invoice.xml create mode 100644 addons/sale/wizard/sale_make_invoice_advance.py create mode 100644 addons/sale/wizard/sale_make_invoice_advance.xml delete mode 100644 addons/sale/wizard/wizard_sale_line_invoice.py diff --git a/addons/sale/__terp__.py b/addons/sale/__terp__.py index 70d9f084afb..f08a548fcf7 100644 --- a/addons/sale/__terp__.py +++ b/addons/sale/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 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 . # ############################################################################## @@ -45,6 +45,8 @@ 'depends': ['product', 'stock', 'mrp', 'process'], 'init_xml': [], 'update_xml': [ + 'wizard/sale_make_invoice_advance.xml', + 'wizard/sale_line_invoice.xml', 'security/sale_security.xml', 'security/ir.model.access.csv', 'sale_workflow.xml', diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index b3cec7496e4..2508ae0d6df 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -149,7 +149,12 @@ -