mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-22 12:12:03 +00:00
multi-company fix
This commit is contained in:
parent
cc39dccaf2
commit
7c5a2da5fa
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2009-2020 Noviat.
|
# Copyright 2009-2021 Noviat.
|
||||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||||
|
|
||||||
from odoo import _, models
|
from odoo import _, models
|
||||||
@ -29,6 +29,7 @@ class AccountBatchPayment(models.Model):
|
|||||||
"default_upload_data": self.export_file,
|
"default_upload_data": self.export_file,
|
||||||
"default_upload_fname": self.export_filename,
|
"default_upload_fname": self.export_filename,
|
||||||
"origin": origin,
|
"origin": origin,
|
||||||
|
'force_comany': self.journal_id.company_id.id,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user