From f1f0fc8bf800f3694812c5cda6507672f95b5a3c Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sun, 13 Oct 2024 21:23:38 +0200 Subject: [PATCH] [FIX] account_ebics_batch_payment - fix stack trace --- account_ebics_batch_payment/models/account_batch_payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ebics_batch_payment/models/account_batch_payment.py b/account_ebics_batch_payment/models/account_batch_payment.py index 907d06a..f80ed4e 100644 --- a/account_ebics_batch_payment/models/account_batch_payment.py +++ b/account_ebics_batch_payment/models/account_batch_payment.py @@ -35,7 +35,7 @@ class AccountBatchPayment(models.Model): ebics_xfer = ( self.env["ebics.xfer"] - .with_company(self.company_id) + .with_company(self.journal_id.company_id) .with_context(**ctx) .create({}) )