[MIG] account_ebics: Migration to 17.0

This commit is contained in:
Luc De Meyer 2024-01-27 19:24:23 +01:00
parent b7a0d27e1c
commit 5c69a5ac02
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

View File

@ -442,7 +442,7 @@ class EbicsXfer(models.TransientModel):
return ebics_file
def _payment_order_postprocess(self, ebics_file):
active_model = self.env.context.get("active_model")
active_model = self.env.context.get("model")
if active_model == "account.payment.order":
order = self.env["account.payment.order"].browse(
self.env.context["active_id"]