From 0092a501007b6569c6b6a3ed574ccc89314e2e79 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 19 Mar 2013 12:01:15 +0100 Subject: [PATCH] [IMP] change license to AGPL --- currency_rate_update/__init__.py | 36 +++++-------- currency_rate_update/__openerp__.py | 37 ++++++------- currency_rate_update/company.py | 33 +++++------- currency_rate_update/currency_rate_update.py | 56 +++++++++----------- 4 files changed, 65 insertions(+), 97 deletions(-) diff --git a/currency_rate_update/__init__.py b/currency_rate_update/__init__.py index f5d0d7942..78d977935 100644 --- a/currency_rate_update/__init__.py +++ b/currency_rate_update/__init__.py @@ -1,30 +1,22 @@ +# -*- coding: utf-8 -*- ############################################################################## # -# Copyright (c) 2008 Camtocamp SA -# @author JB Aubort, Nicolas Bessi, Joel Grand-Guillaume -# European Central Bank and Polish National Bank invented by Grzegorz Grzelak -# $Id: $ +# Copyright (c) 2008 Camtocamp SA +# @author JB Aubort, Nicolas Bessi, Joel Grand-Guillaume +# European Central Bank and Polish National Bank invented by Grzegorz Grzelak # -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company +# 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 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 2 -# 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. # -# 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, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ############################################################################## diff --git a/currency_rate_update/__openerp__.py b/currency_rate_update/__openerp__.py index db4db3ae3..ed0518729 100644 --- a/currency_rate_update/__openerp__.py +++ b/currency_rate_update/__openerp__.py @@ -1,30 +1,23 @@ +# -*- coding: utf-8 -*- ############################################################################## # -# Copyright (c) 2008 Camtocamp SA -# @author JB Aubort, Nicolas Bessi, Joel Grand-Guillaume -# European Central Bank and Polish National Bank invented by Grzegorz Grzelak -# Ported to OpenERP 7.0 by Lorenzo Battistini +# Copyright (c) 2008 Camtocamp SA +# @author JB Aubort, Nicolas Bessi, Joel Grand-Guillaume +# European Central Bank and Polish National Bank invented by Grzegorz Grzelak +# Ported to OpenERP 7.0 by Lorenzo Battistini # -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company +# 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 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 2 -# 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. # -# 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, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ############################################################################## { diff --git a/currency_rate_update/company.py b/currency_rate_update/company.py index a3794938c..344e65396 100644 --- a/currency_rate_update/company.py +++ b/currency_rate_update/company.py @@ -1,30 +1,21 @@ # -*- coding: utf-8 -*- -# company.py -# c2c_currency_update -# @author Nicolas Bessi -# Copyright (c) 2009 CamptoCamp. All rights reserved. ############################################################################## # -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company +# Copyright (c) 2009 CamptoCamp. All rights reserved. +# @author Nicolas Bessi # -# 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 2 -# of the License, or (at your option) any later version. +# 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 General Public License for more details. +# 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 General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ############################################################################## diff --git a/currency_rate_update/currency_rate_update.py b/currency_rate_update/currency_rate_update.py index 37d05f13c..afa3eb920 100644 --- a/currency_rate_update/currency_rate_update.py +++ b/currency_rate_update/currency_rate_update.py @@ -1,41 +1,33 @@ # -*- coding: utf-8 -*- ############################################################################## # -# Copyright (c) 2009 Camptocamp SA -# @author Nicolas Bessi -# @source JBA and AWST inpiration -# @contributor Grzegorz Grzelak (grzegorz.grzelak@birdglobe.com), Joel Grand-Guillaume -# Copyright (c) 2010 Alexis de Lattre (alexis@via.ecp.fr) -# - ported XML-based webservices (Admin.ch, ECB, PL NBP) to new XML lib -# - rates given by ECB webservice is now correct even when main_cur <> EUR -# - rates given by PL_NBP webservice is now correct even when main_cur <> PLN -# - if company_currency <> CHF, you can now update CHF via Admin.ch webservice -# (same for EUR with ECB webservice and PLN with NBP webservice) -# For more details, see Launchpad bug #645263 -# - mecanism to check if rates given by the webservice are "fresh" enough to be -# written in OpenERP ('max_delta_days' parameter for each currency update service) -# Ported to OpenERP 7.0 by Lorenzo Battistini +# Copyright (c) 2009 Camptocamp SA +# @author Nicolas Bessi +# @source JBA and AWST inpiration +# @contributor Grzegorz Grzelak (grzegorz.grzelak@birdglobe.com), Joel Grand-Guillaume +# Copyright (c) 2010 Alexis de Lattre (alexis@via.ecp.fr) +# - ported XML-based webservices (Admin.ch, ECB, PL NBP) to new XML lib +# - rates given by ECB webservice is now correct even when main_cur <> EUR +# - rates given by PL_NBP webservice is now correct even when main_cur <> PLN +# - if company_currency <> CHF, you can now update CHF via Admin.ch webservice +# (same for EUR with ECB webservice and PLN with NBP webservice) +# For more details, see Launchpad bug #645263 +# - mecanism to check if rates given by the webservice are "fresh" enough to be +# written in OpenERP ('max_delta_days' parameter for each currency update service) +# Ported to OpenERP 7.0 by Lorenzo Battistini # -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company +# 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 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 2 -# 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. # -# 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, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ##############################################################################