summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantavya Gajjar <mga@tinyerp.com>2014-02-22 23:32:20 +0530
committerMantavya Gajjar <mga@tinyerp.com>2014-02-22 23:32:20 +0530
commitff29b7b42a944f2e8b461cb3c82941194c307f1e (patch)
tree6be8570f59567b28aff7b74cad8cfd99a2d107b0
parent90953057aa54fab33f447a6cab83f6601ff8bc77 (diff)
[IMP]: improve licance and rename file forum -> website_forum
bzr revid: mga@tinyerp.com-20140222180220-e55rw4hf42iduyl4
-rw-r--r--addons/website_forum/__openerp__.py20
-rw-r--r--addons/website_forum/controllers/__init__.py19
-rw-r--r--addons/website_forum/models/__init__.py23
-rw-r--r--addons/website_forum/models/website_forum.py (renamed from addons/website_forum/models/forum.py)0
-rw-r--r--addons/website_forum/tests/test_ui.py21
5 files changed, 82 insertions, 1 deletions
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 (<http://www.openerp.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
{
'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 (<http://www.openerp.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
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 (<http://www.openerp.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import website_forum
diff --git a/addons/website_forum/models/forum.py b/addons/website_forum/models/website_forum.py
index 6ce5a24a531..6ce5a24a531 100644
--- a/addons/website_forum/models/forum.py
+++ b/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 (<http://www.openerp.com>).
+#
+# 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 <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
import openerp.tests
class TestUi(openerp.tests.HttpCase):