Commit 3d0527d7 authored by Jérome Perrin's avatar Jérome Perrin

Unconditionnaly use Base_getODSStyleSheet as a stylesheet. It's really too...

Unconditionnaly use Base_getODSStyleSheet as a stylesheet. It's really too much pain to maintain duplicated versions.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18434 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f53bb877
...@@ -67,6 +67,13 @@ ...@@ -67,6 +67,13 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Message import Message\n <value> <string>from Products.ERP5Type.Message import Message\n
\n \n
# XXX for now, we always use the default Base_getODSStyleSheet\n
# we use to have Base_getODSListStyleSheet with a line at the bottom of\n
# the page, for better print display. Now we rather agreed that\n
# ods_style is a style for export, not report and the rendering appearance\n
# was not so important.\n
return context.Base_getODSStyleSheet\n
\n
translate = lambda msg: Message(\'ui\', msg)\n translate = lambda msg: Message(\'ui\', msg)\n
request = context.REQUEST\n request = context.REQUEST\n
landscape = int(request.get(\'landscape\', 0))\n landscape = int(request.get(\'landscape\', 0))\n
...@@ -128,9 +135,9 @@ else:\n ...@@ -128,9 +135,9 @@ else:\n
<tuple> <tuple>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>translate</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>translate</string>
<string>request</string> <string>request</string>
<string>int</string> <string>int</string>
<string>landscape</string> <string>landscape</string>
......
108 111
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment