mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-08-14 14:45:36 +00:00
[FIX]batch payment - fix context
This commit is contained in:
@@ -30,11 +30,15 @@ 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,
|
||||
}
|
||||
)
|
||||
|
||||
ebics_xfer = self.env["ebics.xfer"].with_context(**ctx).create({})
|
||||
ebics_xfer = (
|
||||
self.env["ebics.xfer"]
|
||||
.with_company(self.company_id)
|
||||
.with_context(**ctx)
|
||||
.create({})
|
||||
)
|
||||
ebics_xfer._onchange_ebics_config_id()
|
||||
ebics_xfer._onchange_upload_data()
|
||||
view = self.env.ref("account_ebics.ebics_xfer_view_form_upload")
|
||||
|
Reference in New Issue
Block a user