diff --git a/account_ebics_batch_payment/__manifest__.py b/account_ebics_batch_payment/__manifest__.py index cf13fe9..7c71fee 100644 --- a/account_ebics_batch_payment/__manifest__.py +++ b/account_ebics_batch_payment/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Upload Batch Payment via EBICS", - "version": "17.0.1.0.2", + "version": "17.0.1.0.3", "license": "LGPL-3", "author": "Noviat", "website": "https://www.noviat.com", 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({}) )