From ff29b7b42a944f2e8b461cb3c82941194c307f1e Mon Sep 17 00:00:00 2001 From: Mantavya Gajjar Date: Sat, 22 Feb 2014 23:32:20 +0530 Subject: [PATCH] [IMP]: improve licance and rename file forum -> website_forum bzr revid: mga@tinyerp.com-20140222180220-e55rw4hf42iduyl4 --- addons/website_forum/__openerp__.py | 20 ++++++++++++++++ addons/website_forum/controllers/__init__.py | 19 +++++++++++++++ addons/website_forum/models/__init__.py | 23 ++++++++++++++++++- .../models/{forum.py => website_forum.py} | 0 addons/website_forum/tests/test_ui.py | 21 +++++++++++++++++ 5 files changed, 82 insertions(+), 1 deletion(-) rename addons/website_forum/models/{forum.py => website_forum.py} (100%) diff --git a/addons/website_forum/__openerp__.py b/addons/website_forum/__openerp__.py index e20e543264f..dbd183822b7 100644 --- a/addons/website_forum/__openerp__.py +++ b/addons/website_forum/__openerp__.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# -*- 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 . +# +############################################################################## { 'name': 'Forum', diff --git a/addons/website_forum/controllers/__init__.py b/addons/website_forum/controllers/__init__.py index bbd183e955b..46217e33563 100644 --- a/addons/website_forum/controllers/__init__.py +++ b/addons/website_forum/controllers/__init__.py @@ -1,3 +1,22 @@ # -*- 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 . +# +############################################################################## import main diff --git a/addons/website_forum/models/__init__.py b/addons/website_forum/models/__init__.py index 55d2f069a75..510e6b63aa0 100644 --- a/addons/website_forum/models/__init__.py +++ b/addons/website_forum/models/__init__.py @@ -1 +1,22 @@ -import forum +# -*- 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 . +# +############################################################################## + +import website_forum diff --git a/addons/website_forum/models/forum.py b/addons/website_forum/models/website_forum.py similarity index 100% rename from addons/website_forum/models/forum.py rename to addons/website_forum/models/website_forum.py diff --git a/addons/website_forum/tests/test_ui.py b/addons/website_forum/tests/test_ui.py index fe95435e4df..8337c357c40 100644 --- a/addons/website_forum/tests/test_ui.py +++ b/addons/website_forum/tests/test_ui.py @@ -1,3 +1,24 @@ +# -*- 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 . +# +############################################################################## + import openerp.tests class TestUi(openerp.tests.HttpCase):