[IMP]EBICS File Format on Payment Mode

This commit is contained in:
Luc De Meyer
2024-05-12 17:04:49 +02:00
parent ea3a94ea8e
commit 24d63697c7
6 changed files with 31 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Upload Payment Order via EBICS",
"version": "15.0.1.1.0",
"version": "15.0.1.1.1",
"license": "LGPL-3",
"author": "Noviat",
"website": "https://www.noviat.com/",

View File

@@ -70,7 +70,6 @@ class AccountPaymentOrder(models.Model):
ebics_xfer = self.env["ebics.xfer"].with_context(**ctx).create({})
ebics_xfer._onchange_ebics_config_id()
ebics_xfer._onchange_upload_data()
ebics_xfer._onchange_format_id()
view = self.env.ref("account_ebics.ebics_xfer_view_form_upload")
act = {
"name": _("EBICS Upload"),

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="account_payment_mode_form" model="ir.ui.view">
<field name="name">account.payment.mode.form</field>
<field name="model">account.payment.mode</field>
<field name="inherit_id" ref="account_payment_mode.account_payment_mode_form" />
<field name="arch" type="xml">
<field name="payment_type" position="after">
<field
name="ebics_format_id"
attrs="{'invisible': [('payment_order_ok', '=', False)]}"
/>
</field>
</field>
</record>
</odoo>