mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[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:
committed by
Omar (Comunitea)
parent
f3a9d76229
commit
69bc797722
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user