From 403ca77b8f1afd265f18bb49a6de7412da65d7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 27 Jun 2012 12:12:56 +0200 Subject: [PATCH] [ADD] tools: added image.py, intended to hold the resize functions; also added in__init__. bzr revid: tde@openerp.com-20120627101256-4q4miayorfcqh05w --- openerp/tools/__init__.py | 21 +++++++++++---------- openerp/tools/image.py | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 openerp/tools/image.py diff --git a/openerp/tools/__init__.py b/openerp/tools/__init__.py index 6875ebd78fc..76825060f31 100644 --- a/openerp/tools/__init__.py +++ b/openerp/tools/__init__.py @@ -19,19 +19,20 @@ # ############################################################################## -import copy -import win32 -from config import config -from misc import * -from convert import * -from translate import * -from graph import graph from amount_to_text import * from amount_to_text_en import * -from pdf_utils import * -from yaml_import import * -from sql import * +from config import config +from convert import * +import copy from float_utils import * +from graph import graph +from image import * +from misc import * +from pdf_utils import * +from sql import * +from translate import * +from yaml_import import * +import win32 #.apidoc title: Tools diff --git a/openerp/tools/image.py b/openerp/tools/image.py new file mode 100644 index 00000000000..4dc92704c9f --- /dev/null +++ b/openerp/tools/image.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2012-today OpenERP s.a. (). +# +# 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 . +# +##############################################################################