From 0bd454534818941bc3216025ebe3dcac3d78c19d Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 2 Jun 2015 00:39:30 +0200 Subject: [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text - Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough. --- addons/document/__init__.py | 20 +------------------- addons/document/__openerp__.py | 20 +------------------- addons/document/content_index.py | 20 +------------------- addons/document/document.py | 20 +------------------- addons/document/odt2txt.py | 20 +------------------- addons/document/report/__init__.py | 20 +------------------- addons/document/report/document_report.py | 20 +------------------- addons/document/std_index.py | 20 +------------------- addons/document/wizard/__init__.py | 20 +------------------- addons/document/wizard/document_configuration.py | 20 +------------------- 10 files changed, 10 insertions(+), 190 deletions(-) (limited to 'addons/document') diff --git a/addons/document/__init__.py b/addons/document/__init__.py index 8ab13a2a0e4..55caca1b701 100644 --- a/addons/document/__init__.py +++ b/addons/document/__init__.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. import content_index import std_index diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py index 7a413f2423e..dad4092bc2d 100644 --- a/addons/document/__openerp__.py +++ b/addons/document/__openerp__.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. { diff --git a/addons/document/content_index.py b/addons/document/content_index.py index 8c2c9209ced..fb26e26a693 100644 --- a/addons/document/content_index.py +++ b/addons/document/content_index.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. import logging import os import tempfile diff --git a/addons/document/document.py b/addons/document/document.py index de9f03c773c..61d07feeecc 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. import base64 import errno import logging diff --git a/addons/document/odt2txt.py b/addons/document/odt2txt.py index cdb428f3e2e..e9a6d2daf5b 100755 --- a/addons/document/odt2txt.py +++ b/addons/document/odt2txt.py @@ -1,24 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. import sys, zipfile, xml.dom.minidom import StringIO diff --git a/addons/document/report/__init__.py b/addons/document/report/__init__.py index 4b89f1654cc..aff512744ed 100644 --- a/addons/document/report/__init__.py +++ b/addons/document/report/__init__.py @@ -1,21 +1,3 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. import document_report diff --git a/addons/document/report/document_report.py b/addons/document/report/document_report.py index fe4ac113a91..cf832784be9 100644 --- a/addons/document/report/document_report.py +++ b/addons/document/report/document_report.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. from openerp.osv import fields,osv diff --git a/addons/document/std_index.py b/addons/document/std_index.py index 0da17992bba..9f05b86835b 100644 --- a/addons/document/std_index.py +++ b/addons/document/std_index.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. from content_index import indexer, cntIndex from subprocess import Popen, PIPE diff --git a/addons/document/wizard/__init__.py b/addons/document/wizard/__init__.py index b143b583426..10d4e5efb6b 100644 --- a/addons/document/wizard/__init__.py +++ b/addons/document/wizard/__init__.py @@ -1,21 +1,3 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. import document_configuration diff --git a/addons/document/wizard/document_configuration.py b/addons/document/wizard/document_configuration.py index 4dc1f950a4e..916222284d3 100644 --- a/addons/document/wizard/document_configuration.py +++ b/addons/document/wizard/document_configuration.py @@ -1,23 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# 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 . -# -############################################################################## +# Part of Odoo. See LICENSE file for full copyright and licensing details. from openerp.osv import fields, osv -- cgit v1.2.3