mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
[MIG] account_ebics: Migration to 17.0
This commit is contained in:
parent
b7a0d27e1c
commit
5c69a5ac02
@ -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">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
@ -442,7 +442,7 @@ class EbicsXfer(models.TransientModel):
|
|||||||
return ebics_file
|
return ebics_file
|
||||||
|
|
||||||
def _payment_order_postprocess(self, 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":
|
if active_model == "account.payment.order":
|
||||||
order = self.env["account.payment.order"].browse(
|
order = self.env["account.payment.order"].browse(
|
||||||
self.env.context["active_id"]
|
self.env.context["active_id"]
|
||||||
|
Loading…
Reference in New Issue
Block a user