~openerp-dev/openobject-server/trunk-function-getter-assertion-cto

« back to all changes in this revision

Viewing changes to openerp/report/render/rml2pdf/utils.py

[MERGE] [FORWARD] Forward-port of saas-1 branch until revision 4875

Revision ID: qdp-launchpad@openerp.com-20130507120149-p2m4ug20nfny234v

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
##############################################################################
3
3
#
4
 
#    OpenERP, Open Source Management Solution
5
 
#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
6
 
#
7
 
#    This program is free software: you can redistribute it and/or modify
8
 
#    it under the terms of the GNU Affero General Public License as
9
 
#    published by the Free Software Foundation, either version 3 of the
10
 
#    License, or (at your option) any later version.
11
 
#
12
 
#    This program is distributed in the hope that it will be useful,
13
 
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
#    GNU Affero General Public License for more details.
16
 
#
17
 
#    You should have received a copy of the GNU Affero General Public License
18
 
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 
#
20
 
##############################################################################
21
 
 
22
 
# trml2pdf - An RML to PDF converter
23
4
# Copyright (C) 2003, Fabien Pinckaers, UCL, FSA
 
5
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
24
6
#
25
7
# This library is free software; you can redistribute it and/or
26
8
# modify it under the terms of the GNU Lesser General Public
35
17
# You should have received a copy of the GNU Lesser General Public
36
18
# License along with this library; if not, write to the Free Software
37
19
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
20
#
 
21
##############################################################################
38
22
 
39
23
import copy
40
24
import locale