[CHG] change license from GPLv2 to AGPLv3, by the way, fixed a wrong copyright attribution to TINY SPRL (this heedless copy-paste seems common in our report files...)

This commit is contained in:
Guewen Baconnier @ Camptocamp
2012-12-17 13:31:50 +01:00
parent 6a56d820f8
commit ef7732c704
5 changed files with 66 additions and 107 deletions

View File

@@ -1,27 +1,21 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# @author Renaville Vincent, ported by Joel Grand-Guillaume # Author: Vincent Renaville, ported by Joel Grand-Guillaume
# WARNING: This program as such is intended to be used by professional # Copyright 2010-2012 Camptocamp SA
# 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 # This program is free software: you can redistribute it and/or modify
# modify it under the terms of the GNU General Public License # it under the terms of the GNU Affero General Public License as
# as published by the Free Software Foundation; either version 2 # published by the Free Software Foundation, either version 3 of the
# of the License, or (at your option) any later version. # License, or (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU Affero General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program; if not, write to the Free Software # along with this program. If not, see <http://www.gnu.org/licenses/>.
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# #
############################################################################## ##############################################################################
import hours_block import hours_block

View File

@@ -1,31 +1,21 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2011 Camptocamp SA (http://www.camptocamp.com) # Author: Vincent Renaville, ported by Joel Grand-Guillaume
# All Right Reserved # Copyright 2010-2012 Camptocamp SA
# #
# Author : Joël Grand-Guillaume (Camptocamp) # 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.
# #
# WARNING: This program as such is intended to be used by professional # This program is distributed in the hope that it will be useful,
# programmers who take the whole responsability of assessing all potential # but WITHOUT ANY WARRANTY; without even the implied warranty of
# consequences resulting from its eventual inadequacies and bugs # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# End users who are looking for a ready-to-use solution with commercial # GNU Affero General Public License for more details.
# garantees and support are strongly adviced to contract a Free Software
# Service Company
# #
# This program is Free Software; you can redistribute it and/or # You should have received a copy of the GNU Affero General Public License
# modify it under the terms of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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 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.
# #
############################################################################## ##############################################################################

View File

@@ -1,31 +1,21 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2010 Camptocamp SA # Author: Vincent Renaville, ported by Joel Grand-Guillaume
# All Rights Reserved # Copyright 2010-2012 Camptocamp SA
# #
# Author : Vincent Renaville, ported by Joel Grand-Guillaume # 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.
# #
# WARNING: This program as such is intended to be used by professional # This program is distributed in the hope that it will be useful,
# programmers who take the whole responsability of assessing all potential # but WITHOUT ANY WARRANTY; without even the implied warranty of
# consequences resulting from its eventual inadequacies and bugs # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# End users who are looking for a ready-to-use solution with commercial # GNU Affero General Public License for more details.
# garantees and support are strongly adviced to contract a Free Software
# Service Company
# #
# This program is Free Software; you can redistribute it and/or # You should have received a copy of the GNU Affero General Public License
# modify it under the terms of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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 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.
# #
############################################################################## ##############################################################################

View File

@@ -1,27 +1,21 @@
# -*- encoding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Author: Vincent Renaville, ported by Joel Grand-Guillaume
# Copyright 2010-2012 Camptocamp SA
# #
# WARNING: This program as such is intended to be used by professional # This program is free software: you can redistribute it and/or modify
# programmers who take the whole responsability of assessing all potential # it under the terms of the GNU Affero General Public License as
# consequences resulting from its eventual inadequacies and bugs # published by the Free Software Foundation, either version 3 of the
# End users who are looking for a ready-to-use solution with commercial # License, or (at your option) any later version.
# garantees and support are strongly adviced to contract a Free Software
# Service Company
# #
# This program is Free Software; you can redistribute it and/or # This program is distributed in the hope that it will be useful,
# modify it under the terms of the GNU General Public License # but WITHOUT ANY WARRANTY; without even the implied warranty of
# as published by the Free Software Foundation; either version 2 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# of the License, or (at your option) any later version. # GNU Affero General Public License for more details.
# #
# This program is distributed in the hope that it will be useful, # You should have received a copy of the GNU Affero General Public License
# but WITHOUT ANY WARRANTY; without even the implied warranty of # along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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.
# #
############################################################################## ##############################################################################
import hours_block import hours_block

View File

@@ -1,36 +1,27 @@
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Copyright (c) 2005-2006 TINY SPRL. (http://tiny.be) All Rights Reserved. # Author: Vincent Renaville, ported by Joel Grand-Guillaume
# Copyright 2010-2012 Camptocamp SA
# #
# WARNING: This program as such is intended to be used by professional # This program is free software: you can redistribute it and/or modify
# programmers who take the whole responsability of assessing all potential # it under the terms of the GNU Affero General Public License as
# consequences resulting from its eventual inadequacies and bugs # published by the Free Software Foundation, either version 3 of the
# End users who are looking for a ready-to-use solution with commercial # License, or (at your option) any later version.
# garantees and support are strongly adviced to contract a Free Software
# Service Company
# #
# This program is Free Software; you can redistribute it and/or # This program is distributed in the hope that it will be useful,
# modify it under the terms of the GNU General Public License # but WITHOUT ANY WARRANTY; without even the implied warranty of
# as published by the Free Software Foundation; either version 2 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# of the License, or (at your option) any later version. # GNU Affero General Public License for more details.
# #
# This program is distributed in the hope that it will be useful, # You should have received a copy of the GNU Affero General Public License
# but WITHOUT ANY WARRANTY; without even the implied warranty of # along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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.
# #
############################################################################## ##############################################################################
import time import time
from report import report_sxw from report import report_sxw
#import xml.dom.minidom
#import re
class account_hours_block(report_sxw.rml_parse): class account_hours_block(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context=None): def __init__(self, cr, uid, name, context=None):