[FIX] report_qweb_signer: Remove hardcoded memory limits

These limits were being hit when printing PDF reports with just 80 pages.

OCA Transbot updated translations from Transifex

[UPD] Update report_qweb_signer.pot
This commit is contained in:
Jairo Llopis
2017-11-17 13:21:29 +01:00
committed by Omar (Comunitea)
parent f3a9d76229
commit 69bc797722
74 changed files with 792 additions and 532 deletions

View File

@@ -108,7 +108,7 @@ class Report(models.Model):
def _signer_bin(self, opts):
me = os.path.dirname(__file__)
java_bin = 'java -jar -Xms4M -Xmx4M'
java_bin = 'java -jar'
jar = '{}/../static/jar/jPdfSign.jar'.format(me)
return '%s %s %s' % (java_bin, jar, opts)