mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-08-13 14:15:36 +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_fname": attach.name,
|
||||
"origin": origin,
|
||||
"force_comany": self.company_id.id,
|
||||
"force_company": self.company_id.id,
|
||||
}
|
||||
)
|
||||
ebics_xfer = self.env["ebics.xfer"].with_context(**ctx).create({})
|
||||
|
Reference in New Issue
Block a user