[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:
Luc De Meyer
2024-05-06 20:15:49 +02:00
parent 71bf9c0ac8
commit 137e4caa72
4 changed files with 19 additions and 4 deletions

View File

@@ -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({})