[MIG] : Migration to 16.0

This commit is contained in:
Luc De Meyer 2022-12-23 11:46:48 +01:00
parent 5af49d90f6
commit 0c4388801a
3 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{ {
"name": "EBICS banking protocol", "name": "EBICS banking protocol",
"version": "15.0.1.1.0", "version": "16.0.1.0.0",
"license": "LGPL-3", "license": "LGPL-3",
"author": "Noviat", "author": "Noviat",
"website": "https://www.noviat.com", "website": "https://www.noviat.com",

View File

@ -177,6 +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.flush() self.flush()
self.env.cr.execute( self.env.cr.execute(
""" """

View File

@ -19,7 +19,7 @@
<field name="model">ebics.userid</field> <field name="model">ebics.userid</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="EBICS UserID"> <form string="EBICS UserID">
<header groups="account_ebics.group_ebics_manager"> <header>
<button <button
name="ebics_init_1" name="ebics_init_1"
states="draft" states="draft"