[FIX] utf8 debug + minial bin version

bzr revid: nicolas.bessi@camptocamp.com-20110322134040-co8s0zyt87t6ymwc
This commit is contained in:
nicolas.bessi@camptocamp.com 2011-03-22 14:40:40 +01:00
parent ab2ef13752
commit 4ed6eeeba6
2 changed files with 4 additions and 3 deletions

View File

@ -75,7 +75,7 @@
<tr>
<td>Mail: ${company.partner_id.address and company.partner_id.address[0].email or ''|entity}<br/></td>
</tr>
</table> ${_debug or ''} </body>
</table> ${_debug or ''|n} </body>
</html>]]>
</field>
<field eval="55.0" name="margin_top"/>

View File

@ -77,7 +77,8 @@ class WebKitParser(report_sxw):
_('Please install executable on your system'+
' (sudo apt-get install wkhtmltopdf) or download it from here:'+
' http://code.google.com/p/wkhtmltopdf/downloads/list and set the'+
' path to the executable on the Company form.')
' path to the executable on the Company form.'+
'Minimal version is 0.9.9')
)
if os.path.isabs(path) :
if (os.path.exists(path) and os.access(path, os.X_OK)\
@ -339,7 +340,7 @@ class WebKitParser(report_sxw):
time=time,
helper=helper,
css=css,
_debug=html,
_debug=html.decode(),
formatLang=self.formatLang,
setLang=self.setLang,
_=self.translate_call,