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({}) )