mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] report_qweb_signer: noupdate defaults
We don't want our custom parameters be reset every time the module updates. TT32256
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{
|
||||
"name": "Qweb PDF reports signer",
|
||||
"summary": "Sign Qweb PDFs usign a PKCS#12 certificate",
|
||||
"version": "12.0.1.0.1",
|
||||
"version": "12.0.1.1.0",
|
||||
"category": "Reporting",
|
||||
"website": "https://github.com/oca/reporting-engine",
|
||||
"author": "Tecnativa, "
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<odoo noupdate="1">
|
||||
<record model="ir.config_parameter" id="report_qweb_signer_java_param">
|
||||
<field name="key">report_qweb_signer.java_parameters</field>
|
||||
<field name="value">-Xms4M -Xmx4M</field>
|
||||
|
||||
12
report_qweb_signer/migrations/12.0.1.1.0/pre-migration.py
Normal file
12
report_qweb_signer/migrations/12.0.1.1.0/pre-migration.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# Copyright 2021 Tecnativa - David Vidal
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
openupgrade.set_xml_ids_noupdate_value(
|
||||
env, "report_qweb_signer", [
|
||||
"report_qweb_signer_java_param",
|
||||
], True,
|
||||
)
|
||||
Reference in New Issue
Block a user