[FIX] stock: error on stock.partial.move creation
[odoo/odoo.git] / openerp / report / common.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
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 pageSize = {
23     'A4': (210,297),
24     'A5': (148.5,105)
25 }
26
27 odt_namespace = {
28     "office":"{urn:oasis:names:tc:opendocument:xmlns:office:1.0}",
29     "style":"{urn:oasis:names:tc:opendocument:xmlns:style:1.0}",
30     "text":"{urn:oasis:names:tc:opendocument:xmlns:text:1.0}",
31     "table":"{urn:oasis:names:tc:opendocument:xmlns:table:1.0}",
32     "draw":"{urn:oasis:names:tc:opendocument:xmlns:drawing:1.0}",
33     "fo":"{urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0}",
34     "xlink":"{http://www.w3.org/1999/xlink}",
35     "dc":"{http://purl.org/dc/elements/1.1/}",
36     "meta":"{urn:oasis:names:tc:opendocument:xmlns:meta:1.0}",
37     "number":"{urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0}",
38     "svg":"{urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0}",
39     "chart":"{urn:oasis:names:tc:opendocument:xmlns:chart:1.0}",
40     "dr3d":"{urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0}",
41     "math":"{http://www.w3.org/1998/Math/MathML}",
42     "form":"{urn:oasis:names:tc:opendocument:xmlns:form:1.0}",
43     "script":"{urn:oasis:names:tc:opendocument:xmlns:script:1.0}",
44     "ooo":"{http://openoffice.org/2004/office}",
45     "ooow":"{http://openoffice.org/2004/writer}",
46     "oooc":"{http://openoffice.org/2004/calc}",
47     "dom":"{http://www.w3.org/2001/xml-events}" }
48
49 sxw_namespace = {
50     "office":"{http://openoffice.org/2000/office}",
51     "style":"{http://openoffice.org/2000/style}",
52     "text":"{http://openoffice.org/2000/text}",
53     "table":"{http://openoffice.org/2000/table}",
54     "draw":"{http://openoffice.org/2000/drawing}",
55     "fo":"{http://www.w3.org/1999/XSL/Format}",
56     "xlink":"{http://www.w3.org/1999/xlink}",
57     "dc":"{http://purl.org/dc/elements/1.1/}",
58     "meta":"{http://openoffice.org/2000/meta}",
59     "number":"{http://openoffice.org/2000/datastyle}",
60     "svg":"{http://www.w3.org/2000/svg}",
61     "chart":"{http://openoffice.org/2000/chart}",
62     "dr3d":"{http://openoffice.org/2000/dr3d}",
63     "math":"{http://www.w3.org/1998/Math/MathML}",
64     "form":"{http://openoffice.org/2000/form}",
65     "script":"{http://openoffice.org/2000/script}",
66     "ooo":"{http://openoffice.org/2004/office}",
67     "ooow":"{http://openoffice.org/2004/writer}",
68     "oooc":"{http://openoffice.org/2004/calc}",
69     "dom":"{http://www.w3.org/2001/xml-events}"}
70 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
71