[MIG] : Migration to 16.0

This commit is contained in:
Luc De Meyer 2022-12-25 11:35:14 +01:00
parent 7fc84111ac
commit af1467f4e7
2 changed files with 3 additions and 4 deletions

View File

@ -177,8 +177,7 @@ class EbicsFile(models.Model):
if res_action.get("type") and res_action["type"] == "ir.actions.client":
st_line_ids = res_action["context"].get("statement_line_ids", [])
if st_line_ids:
##TODO: Use flush_model(), flush_recordset() or env.flush_all() ###########################
self.flush()
self.env.flush_all()
self.env.cr.execute(
"""
SELECT DISTINCT

View File

@ -120,10 +120,10 @@
name="dn"
attrs="{'invisible': [('ebics_key_x509', '=', False)], 'readonly': [('state', '!=', 'draft')]}"
>
<group colspan="4" col="1">
<div colspan="4" col="1">
<strong
>Distinguished Name attributes used to create self-signed X.509 certificates:</strong>
</group>
</div>
<group name="dn_l" colspan="2">
<field name="ebics_key_x509_dn_cn" />
<field name="ebics_key_x509_dn_o" />