mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
[MIG] : Migration to 16.0
This commit is contained in:
parent
7fc84111ac
commit
af1467f4e7
@ -177,8 +177,7 @@ class EbicsFile(models.Model):
|
|||||||
if res_action.get("type") and res_action["type"] == "ir.actions.client":
|
if res_action.get("type") and res_action["type"] == "ir.actions.client":
|
||||||
st_line_ids = res_action["context"].get("statement_line_ids", [])
|
st_line_ids = res_action["context"].get("statement_line_ids", [])
|
||||||
if st_line_ids:
|
if st_line_ids:
|
||||||
##TODO: Use flush_model(), flush_recordset() or env.flush_all() ###########################
|
self.env.flush_all()
|
||||||
self.flush()
|
|
||||||
self.env.cr.execute(
|
self.env.cr.execute(
|
||||||
"""
|
"""
|
||||||
SELECT DISTINCT
|
SELECT DISTINCT
|
||||||
|
@ -120,10 +120,10 @@
|
|||||||
name="dn"
|
name="dn"
|
||||||
attrs="{'invisible': [('ebics_key_x509', '=', False)], 'readonly': [('state', '!=', 'draft')]}"
|
attrs="{'invisible': [('ebics_key_x509', '=', False)], 'readonly': [('state', '!=', 'draft')]}"
|
||||||
>
|
>
|
||||||
<group colspan="4" col="1">
|
<div colspan="4" col="1">
|
||||||
<strong
|
<strong
|
||||||
>Distinguished Name attributes used to create self-signed X.509 certificates:</strong>
|
>Distinguished Name attributes used to create self-signed X.509 certificates:</strong>
|
||||||
</group>
|
</div>
|
||||||
<group name="dn_l" colspan="2">
|
<group name="dn_l" colspan="2">
|
||||||
<field name="ebics_key_x509_dn_cn" />
|
<field name="ebics_key_x509_dn_cn" />
|
||||||
<field name="ebics_key_x509_dn_o" />
|
<field name="ebics_key_x509_dn_o" />
|
||||||
|
Loading…
Reference in New Issue
Block a user