mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 12:42:04 +00:00
multi-company fix
This commit is contained in:
parent
8d7128fc4e
commit
b835d4d212
@ -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
|
||||
@ -41,6 +41,7 @@ class AccountPaymentOrder(models.Model):
|
||||
'default_upload_data': attach.datas,
|
||||
'default_upload_fname': attach.name,
|
||||
'origin': origin,
|
||||
'force_comany': self.company_id.id,
|
||||
})
|
||||
ebics_xfer = self.env['ebics.xfer'].with_context(ctx).create({})
|
||||
ebics_xfer._onchange_ebics_config_id()
|
||||
|
Loading…
Reference in New Issue
Block a user