Browse Source

Relicense to LGPL

With the agreement of authors and contributors.
Closes #635 (https://github.com/OCA/server-tools/issues/635)
pull/637/head
Daniel Reis 8 years ago
parent
commit
84b102cda8
  1. 6
      base_external_dbsource/README.rst
  2. 20
      base_external_dbsource/__init__.py
  3. 6
      base_external_dbsource/__openerp__.py
  4. 20
      base_external_dbsource/models/__init__.py
  5. 24
      base_external_dbsource/models/base_external_dbsource.py

6
base_external_dbsource/README.rst

@ -1,6 +1,6 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
========================= =========================
External Database Sources External Database Sources

20
base_external_dbsource/__init__.py

@ -1,22 +1,2 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
##############################################################################
#
# Daniel Reis
# 2011
#
# 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/>.
#
##############################################################################
from . import models from . import models

6
base_external_dbsource/__openerp__.py

@ -1,13 +1,13 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright <2011> <Daniel Reis, Maxime Chambreuil, Savoir-faire Linux> # Copyright <2011> <Daniel Reis, Maxime Chambreuil, Savoir-faire Linux>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{ {
'name': 'External Database Sources', 'name': 'External Database Sources',
'version': '9.0.1.0.0',
'version': '9.0.1.0.1',
'category': 'Tools', 'category': 'Tools',
'author': "Daniel Reis,Odoo Community Association (OCA)", 'author': "Daniel Reis,Odoo Community Association (OCA)",
'website': 'https://github.com/OCA/server-tools', 'website': 'https://github.com/OCA/server-tools',
'license': 'AGPL-3',
'license': 'LGPL-3',
'images': [ 'images': [
'images/screenshot01.png', 'images/screenshot01.png',
], ],

20
base_external_dbsource/models/__init__.py

@ -1,22 +1,2 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
##############################################################################
#
# Daniel Reis
# 2011
#
# 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/>.
#
##############################################################################
from . import base_external_dbsource from . import base_external_dbsource

24
base_external_dbsource/models/base_external_dbsource.py

@ -1,30 +1,16 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
##############################################################################
#
# Daniel Reis
# 2011
#
# 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/>.
#
##############################################################################
# Copyright 2011 Daniel Reis
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
import os import os
import logging import logging
import psycopg2 import psycopg2
from openerp import models, fields, api, _ from openerp import models, fields, api, _
from openerp.exceptions import Warning as UserError from openerp.exceptions import Warning as UserError
import openerp.tools as tools import openerp.tools as tools
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
CONNECTORS = [] CONNECTORS = []

Loading…
Cancel
Save