12 lines
879 B
Diff
12 lines
879 B
Diff
--- ext/odoo/openerp/report/render/rml2pdf/trml2pdf.py 2014-01-14 14:18:12.302306370 +0100
|
|
+++ ext/odoo/openerp/report/render/rml2pdf/trml2pdf.py 2014-01-14 14:18:16.770419846 +0100
|
|
@@ -740,7 +740,7 @@
|
|
rowheights = [utils.unit_get(f.strip()) for f in node.get('rowHeights').split(',')]
|
|
if len(rowheights) == 1:
|
|
rowheights = rowheights[0]
|
|
- table = platypus.LongTable(data = data, colWidths=colwidths, rowHeights=rowheights, **(utils.attr_get(node, ['splitByRow'] ,{'repeatRows':'int','repeatCols':'int'})))
|
|
+ table = platypus.LongTable(data = data, colWidths=colwidths, rowHeights=rowheights, **(utils.attr_get(node, ['splitByRow'] ,{'repeatRows':'int','repeatCols':'int', 'hAlign':'str'})))
|
|
if node.get('style'):
|
|
table.setStyle(self.styles.table_styles[node.get('style')])
|
|
for s in styles:
|