mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Case: After the configuration of a debit order and generating the .xml file, user can't download it from the next step screen using the download link. This fix makes the .xml file downloadable from the .xml file name as it was in older versions
29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- © 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>) -->
|
|
<odoo>
|
|
<record id="view_attachment_simplified_form" model="ir.ui.view">
|
|
<field name="name">ir.attachment.simplified.form</field>
|
|
<field name="model">ir.attachment</field>
|
|
<field name="priority" eval="25" />
|
|
<field name="arch" type="xml">
|
|
<form string="Attachments">
|
|
<sheet>
|
|
<label for="name" class="oe_edit_only" />
|
|
<h1>
|
|
<field name="name" />
|
|
</h1>
|
|
<group name="main">
|
|
<field name="datas" filename="name" string="Generated File" />
|
|
<label for="create_uid" string="Created by" />
|
|
<div name="creation_div">
|
|
<field name="create_uid" readonly="1" class="oe_inline" />
|
|
on
|
|
<field name="create_date" readonly="1" class="oe_inline" />
|
|
</div>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|