Skip to content

Commit

Permalink
[UPD] Change LICENSE to LGPL
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantodorovich authored and simahawk committed Oct 22, 2021
1 parent 69a8472 commit 03012cf
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 49 deletions.
19 changes: 0 additions & 19 deletions server_environment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
##############################################################################
#
# Adapted by Nicolas Bessi. Copyright Camptocamp SA
# Based on Florent Xicluna original code. Copyright Wingo SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from . import models
from . import server_env
from .server_env import serv_config, setboolean
4 changes: 2 additions & 2 deletions server_environment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright Wingo SA
# Copyright 2018 Camptocamp (https://www.camptocamp.com).
# License GPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

{
"name": "server configuration environment files",
Expand All @@ -9,7 +9,7 @@
"author": "Camptocamp,Odoo Community Association (OCA)",
"summary": "move some configurations out of the database",
"website": "https://github.com/OCA/server-env",
"license": "GPL-3 or any later version",
"license": "LGPL-3",
"category": "Tools",
"data": [
"security/ir.model.access.csv",
Expand Down
2 changes: 1 addition & 1 deletion server_environment/models/server_env_mixin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright 2018 Camptocamp (https://www.camptocamp.com).
# License GPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

import logging
from functools import partialmethod
Expand Down
2 changes: 1 addition & 1 deletion server_environment/models/server_env_tech_name_mixin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2020 Camptocamp (http://www.camptocamp.com)
# @author Simone Orsi <simahawk@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

from odoo import api, fields, models

Expand Down
4 changes: 4 additions & 0 deletions server_environment/security/res_groups.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?xml version="1.0" ?>
<!--
Copyright 2018 Camptocamp (https://www.camptocamp.com).
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
-->
<odoo>
<record model="res.groups" id="has_server_configuration_access">
<field name="name">View Server Environment Configuration</field>
Expand Down
6 changes: 2 additions & 4 deletions server_environment/server_env.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Copyright 2020 Camptocamp (http://www.camptocamp.com)
# @author Nicolas Bessi
# Based on Florent Xicluna original code. Copyright Wingo SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

# Adapted by Nicolas Bessi. Copyright Camptocamp SA
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

import configparser
import logging
Expand Down
22 changes: 3 additions & 19 deletions server_environment/system_info.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
##############################################################################
#
# Adapted by Nicolas Bessi. Copyright Camptocamp SA
# Based on Florent Xicluna original code. Copyright Wingo SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# Based on Florent Xicluna original code. Copyright Wingo SA
# Adapted by Nicolas Bessi. Copyright Camptocamp SA
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

import locale
import os
Expand Down
2 changes: 1 addition & 1 deletion server_environment/tests/common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright 2018 Camptocamp (https://www.camptocamp.com).
# License GPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

import os
from contextlib import contextmanager
Expand Down
2 changes: 1 addition & 1 deletion server_environment/tests/test_environment_variable.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright 2018 Camptocamp (https://www.camptocamp.com).
# License GPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)


from unittest.mock import patch
Expand Down
3 changes: 2 additions & 1 deletion server_environment/tests/test_server_environment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2018 Camptocamp (https://www.camptocamp.com).
# License GPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)

from unittest.mock import patch

from odoo.tools.config import config as odoo_config
Expand Down

0 comments on commit 03012cf

Please sign in to comment.