From a1114279e90f1a44425f837a78b3cf8ead4a05f1 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Wed, 6 Jan 2021 21:22:11 +0100 Subject: [PATCH] multi-company fix --- account_ebics_batch_payment/models/account_batch_payment.py | 3 ++- 1 file changed, 2 insertions(+), 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 316c101..4121fb9 100644 --- a/account_ebics_batch_payment/models/account_batch_payment.py +++ b/account_ebics_batch_payment/models/account_batch_payment.py @@ -1,4 +1,4 @@ -# Copyright 2009-2020 Noviat. +# Copyright 2009-2021 Noviat. # License LGPL-3 or later (http://www.gnu.org/licenses/lpgl). from odoo import _, models @@ -29,6 +29,7 @@ class AccountBatchPayment(models.Model): "default_upload_data": self.export_file, "default_upload_fname": self.export_filename, "origin": origin, + 'force_comany': self.journal_id.company_id.id, } )