[FIX] custom report xml creation
bzr revid: chs@tinyerp.com-20091208173724-cc749thka4ll4k5o
This commit is contained in:
parent
32f239fa6b
commit
48a4938d24
|
@ -291,7 +291,7 @@ class report_custom(report_int):
|
|||
|
||||
def _append_node(name, text):
|
||||
n = etree.SubElement(config, name)
|
||||
t.text = text
|
||||
n.text = text
|
||||
|
||||
_append_node('date', time.strftime('%d/%m/%Y'))
|
||||
_append_node('PageFormat', '%s' % report['print_format'])
|
||||
|
|
Loading…
Reference in New Issue