mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-11-03 22:50:59 +00:00
[IMP]account_ebics: file format filter on ebics_upload
Set file format fiter when creating the ebics.xfer wizard from a python method, e.g. 'EBICS UPLOAD' button on payment order.
This commit is contained in:
@@ -52,7 +52,7 @@ class AccountPaymentOrder(models.Model):
|
|||||||
"default_upload_data": attach.datas,
|
"default_upload_data": attach.datas,
|
||||||
"default_upload_fname": attach.name,
|
"default_upload_fname": attach.name,
|
||||||
"origin": origin,
|
"origin": origin,
|
||||||
"force_comany": self.company_id.id,
|
"force_company": self.company_id.id,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
ebics_xfer = self.env["ebics.xfer"].with_context(**ctx).create({})
|
ebics_xfer = self.env["ebics.xfer"].with_context(**ctx).create({})
|
||||||
|
|||||||
Reference in New Issue
Block a user