From 6de0e1e6c48afb9e38ba8441170a2cd4ece2a445 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Mon, 6 May 2024 20:15:49 +0200 Subject: [PATCH] [IMP]account_ebics: file format filter on ebics_upload Set file format fiter when creating the ebics.xfer wizard from a python method, e.g. 'EBICS UPLOAD' button on payment order. --- account_ebics_payment_order/models/account_payment_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ebics_payment_order/models/account_payment_order.py b/account_ebics_payment_order/models/account_payment_order.py index 03a49b6..030f313 100644 --- a/account_ebics_payment_order/models/account_payment_order.py +++ b/account_ebics_payment_order/models/account_payment_order.py @@ -52,7 +52,7 @@ class AccountPaymentOrder(models.Model): "default_upload_data": attach.datas, "default_upload_fname": attach.name, "origin": origin, - "force_comany": self.company_id.id, + "force_company": self.company_id.id, } ) ebics_xfer = self.env["ebics.xfer"].with_context(**ctx).create({})