Initial commit
This commit is contained in:
59
Fusion Accounting/wizard/bank_statement_import_wizard.xml
Normal file
59
Fusion Accounting/wizard/bank_statement_import_wizard.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<!-- ============================================================ -->
|
||||
<!-- Fusion Bank Statement Import Wizard - Form View -->
|
||||
<!-- ============================================================ -->
|
||||
<record id="fusion_bank_statement_import_wizard_form" model="ir.ui.view">
|
||||
<field name="name">fusion.bank.statement.import.form</field>
|
||||
<field name="model">fusion.bank.statement.import</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Import Bank Statement">
|
||||
<group>
|
||||
<group>
|
||||
<field name="journal_id"
|
||||
options="{'no_create': True, 'no_open': True}"/>
|
||||
<field name="data_file" filename="filename"
|
||||
widget="binary"/>
|
||||
<field name="filename" invisible="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="detected_format"
|
||||
readonly="1"
|
||||
invisible="not detected_format"/>
|
||||
</group>
|
||||
</group>
|
||||
<group invisible="not import_result">
|
||||
<field name="import_result" widget="text" readonly="1"/>
|
||||
</group>
|
||||
<div class="text-muted mt-3 mb-3" style="font-size: 0.9em;">
|
||||
<p><strong>Supported formats:</strong></p>
|
||||
<ul>
|
||||
<li><strong>OFX</strong> — Open Financial Exchange (v1 SGML and v2 XML)</li>
|
||||
<li><strong>QIF</strong> — Quicken Interchange Format</li>
|
||||
<li><strong>CAMT.053</strong> — ISO 20022 Bank-to-Customer Statement (XML)</li>
|
||||
<li><strong>CSV</strong> — Comma-Separated Values (redirects to column mapper)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<footer>
|
||||
<button name="action_import" string="Import"
|
||||
type="object" class="btn-primary"/>
|
||||
<button string="Cancel" class="btn-secondary"
|
||||
special="cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ============================================================ -->
|
||||
<!-- Wizard Action -->
|
||||
<!-- ============================================================ -->
|
||||
<record id="action_fusion_bank_statement_import" model="ir.actions.act_window">
|
||||
<field name="name">Import Bank Statement</field>
|
||||
<field name="res_model">fusion.bank.statement.import</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
<field name="view_id" ref="fusion_bank_statement_import_wizard_form"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user