From 36c1ba5327a3032019b3f5c191f22ac4edc63bb9 Mon Sep 17 00:00:00 2001 From: Mantavya Gajjar Date: Thu, 1 Jul 2010 18:46:22 +0530 Subject: [PATCH] [FIX]: add author and License in all files bzr revid: mga@tinyerp.com-20100701131622-z225ov1t59c199s3 --- addons/email_template/__init__.py | 22 +++++++++++++++++ addons/email_template/__openerp__.py | 24 ++++++++++++++++++- addons/email_template/email_template.py | 23 +++++++++++++++++- .../email_template/email_template_account.py | 22 +++++++++++++++++ .../email_template/email_template_engines.py | 22 +++++++++++++++++ .../email_template/email_template_mailbox.py | 22 +++++++++++++++++ 6 files changed, 133 insertions(+), 2 deletions(-) diff --git a/addons/email_template/__init__.py b/addons/email_template/__init__.py index c959f7204da..6d99e9a4492 100644 --- a/addons/email_template/__init__.py +++ b/addons/email_template/__init__.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2009 Sharoon Thomas +# Copyright (C) 2004-2010 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 email_template_account import email_template import email_template_mailbox diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index ef50f631e3e..917df3dde70 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -1,7 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2009 Sharoon Thomas +# Copyright (C) 2004-2010 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 . +# +############################################################################## + { "name" : "Email Template for Open ERP", "version" : "0.7 RC", - "author" : "Open ERP", + "author" : "Sharoon Thomas, Openlabs", "website" : "http://openerp.com", "category" : "Added functionality", "depends" : ['base'], diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index 0ca89a5bbb8..730502bc549 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2009 Sharoon Thomas +# Copyright (C) 2004-2010 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 base64 import random import time @@ -41,7 +63,6 @@ import tools import report import pooler - def get_value(cursor, user, recid, message=None, template=None, context=None): """ Evaluates an expression and returns its value diff --git a/addons/email_template/email_template_account.py b/addons/email_template/email_template_account.py index 9ea1cd5b8fa..e5bbe0f5e56 100644 --- a/addons/email_template/email_template_account.py +++ b/addons/email_template/email_template_account.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2009 Sharoon Thomas +# Copyright (C) 2004-2010 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 . +# +############################################################################## + from osv import osv, fields from html2text import html2text import re diff --git a/addons/email_template/email_template_engines.py b/addons/email_template/email_template_engines.py index 2fc58310e9b..cd6aedade39 100644 --- a/addons/email_template/email_template_engines.py +++ b/addons/email_template/email_template_engines.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2009 Sharoon Thomas +# Copyright (C) 2004-2010 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 . +# +############################################################################## + # To change this template, choose Tools | Templates # and open the template in the editor. from osv import fields,osv diff --git a/addons/email_template/email_template_mailbox.py b/addons/email_template/email_template_mailbox.py index b20fa9f76bf..d594a01c087 100644 --- a/addons/email_template/email_template_mailbox.py +++ b/addons/email_template/email_template_mailbox.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2009 Sharoon Thomas +# Copyright (C) 2004-2010 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 . +# +############################################################################## + from osv import osv, fields import time import email_template_engines