[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 8438a10c57
commit e0f47ee766
5 changed files with 20 additions and 13 deletions

View File

@@ -41,7 +41,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({})
ebics_xfer._onchange_ebics_config_id()