mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
# WARNING: This program as such is intended to be used by professional
|
# published by the Free Software Foundation, either version 3 of the
|
||||||
# programmers who take the whole responsability of assessing all potential
|
# License, or (at your option) any later version.
|
||||||
# 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 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,
|
# 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.
|
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
# WARNING: This program as such is intended to be used by professional
|
# published by the Free Software Foundation, either version 3 of the
|
||||||
# programmers who take the whole responsability of assessing all potential
|
# License, or (at your option) any later version.
|
||||||
# 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 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,
|
# 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.
|
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
# 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,
|
# 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
|
||||||
@@ -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
|
|
||||||
# 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,
|
# 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 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):
|
||||||
|
|||||||
Reference in New Issue
Block a user