From dab99d29d69c76f1ef4086cfab036acf61b6f630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 8 Nov 2013 10:56:54 +0100 Subject: [PATCH] [CLEAN] payment_acquirer: module cleaning Remove now unnecessary controllers, data and static folders. Moved credit card logos to ogone. bzr revid: tde@openerp.com-20131108095654-jd6ybw6hkame2ayu --- addons/payment_acquirer/__init__.py | 1 - addons/payment_acquirer/__openerp__.py | 2 +- .../payment_acquirer/controllers/__init__.py | 1 - addons/payment_acquirer/controllers/main.py | 30 ------------------ ...cquirer_views.xml => payment_acquirer.xml} | 0 .../static/src/img/icon_code.png | Bin .../static/src/img/icon_credit_card.png | Bin .../static/src/img/ogone_logo.png | Bin .../static/src/img/ogone_logo_plain.gif | Bin 9 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 addons/payment_acquirer/controllers/__init__.py delete mode 100644 addons/payment_acquirer/controllers/main.py rename addons/payment_acquirer/views/{payment_acquirer_views.xml => payment_acquirer.xml} (100%) rename addons/{payment_acquirer => payment_acquirer_ogone}/static/src/img/icon_code.png (100%) rename addons/{payment_acquirer => payment_acquirer_ogone}/static/src/img/icon_credit_card.png (100%) rename addons/{payment_acquirer => payment_acquirer_ogone}/static/src/img/ogone_logo.png (100%) rename addons/{payment_acquirer => payment_acquirer_ogone}/static/src/img/ogone_logo_plain.gif (100%) diff --git a/addons/payment_acquirer/__init__.py b/addons/payment_acquirer/__init__.py index dde6f25c728..d95d47860af 100644 --- a/addons/payment_acquirer/__init__.py +++ b/addons/payment_acquirer/__init__.py @@ -20,4 +20,3 @@ ############################################################################## import models -import controllers diff --git a/addons/payment_acquirer/__openerp__.py b/addons/payment_acquirer/__openerp__.py index 06c3aa19d40..2c633121c7a 100644 --- a/addons/payment_acquirer/__openerp__.py +++ b/addons/payment_acquirer/__openerp__.py @@ -28,7 +28,7 @@ 'author': 'OpenERP SA', 'depends': ['decimal_precision', 'mail'], 'data': [ - 'views/payment_acquirer_views.xml', + 'views/payment_acquirer.xml', 'security/ir.model.access.csv', ], 'installable': True, diff --git a/addons/payment_acquirer/controllers/__init__.py b/addons/payment_acquirer/controllers/__init__.py deleted file mode 100644 index 039d9715fab..00000000000 --- a/addons/payment_acquirer/controllers/__init__.py +++ /dev/null @@ -1 +0,0 @@ -import main \ No newline at end of file diff --git a/addons/payment_acquirer/controllers/main.py b/addons/payment_acquirer/controllers/main.py deleted file mode 100644 index c0ef7f383d4..00000000000 --- a/addons/payment_acquirer/controllers/main.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2013-Today OpenERP SA (). -# -# 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 . -# -############################################################################## - -from openerp.addons.web import http - -import logging - -_logger = logging.getLogger(__name__) - - -class PaymentController(http.Controller): - pass diff --git a/addons/payment_acquirer/views/payment_acquirer_views.xml b/addons/payment_acquirer/views/payment_acquirer.xml similarity index 100% rename from addons/payment_acquirer/views/payment_acquirer_views.xml rename to addons/payment_acquirer/views/payment_acquirer.xml diff --git a/addons/payment_acquirer/static/src/img/icon_code.png b/addons/payment_acquirer_ogone/static/src/img/icon_code.png similarity index 100% rename from addons/payment_acquirer/static/src/img/icon_code.png rename to addons/payment_acquirer_ogone/static/src/img/icon_code.png diff --git a/addons/payment_acquirer/static/src/img/icon_credit_card.png b/addons/payment_acquirer_ogone/static/src/img/icon_credit_card.png similarity index 100% rename from addons/payment_acquirer/static/src/img/icon_credit_card.png rename to addons/payment_acquirer_ogone/static/src/img/icon_credit_card.png diff --git a/addons/payment_acquirer/static/src/img/ogone_logo.png b/addons/payment_acquirer_ogone/static/src/img/ogone_logo.png similarity index 100% rename from addons/payment_acquirer/static/src/img/ogone_logo.png rename to addons/payment_acquirer_ogone/static/src/img/ogone_logo.png diff --git a/addons/payment_acquirer/static/src/img/ogone_logo_plain.gif b/addons/payment_acquirer_ogone/static/src/img/ogone_logo_plain.gif similarity index 100% rename from addons/payment_acquirer/static/src/img/ogone_logo_plain.gif rename to addons/payment_acquirer_ogone/static/src/img/ogone_logo_plain.gif