mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[MIG] account_bank_statement_import to v14 > account_statement_import
Module renamed to account_statement_import to avoid conflit with Odoo enterprise Add support for multi-account statement files Integrate the feature provided by the module account_bank_statement_import_save_file Improve error messages Remove dead or annoying features Improve code !
This commit is contained in:
committed by
Maksym Yankin
parent
66c9766c01
commit
751c7e8792
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="assets_backend"
|
||||
name="account_bank_statement_import assets"
|
||||
inherit_id="web.assets_backend"
|
||||
>
|
||||
<xpath expr="." position="inside">
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="/account_bank_statement_import/static/src/js/account_bank_statement_import.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!--
|
||||
Copyright 2020 Akretion France (http://www.akretion.com/)
|
||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
Licence LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_bank_statement_line_form" model="ir.ui.view">
|
||||
<field name="model">account.bank.statement.line</field>
|
||||
<field name="inherit_id" ref="account.view_bank_statement_line_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="transaction_type" position="before">
|
||||
<field name="account_number" />
|
||||
</field>
|
||||
<field name="transaction_type" position="after">
|
||||
<field name="partner_bank_id" />
|
||||
</field>
|
||||
<field name="move_id" position="after">
|
||||
<field name="unique_import_id" groups="base.group_no_one" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
25
account_statement_import/views/account_journal.xml
Normal file
25
account_statement_import/views/account_journal.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!--
|
||||
Copyright 2004-2020 Odoo S.A.
|
||||
Copyright 2020 Akretion France (http://www.akretion.com/)
|
||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
Licence LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="journal_dashboard_view_inherit" model="ir.ui.view">
|
||||
<field name="model">account.journal</field>
|
||||
<field name="inherit_id" ref="account.account_journal_dashboard_kanban_view" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr='//span[@name="button_import_placeholder"]' position='inside'>
|
||||
<span>or <a type="object" name="import_statement">Import</a></span>
|
||||
</xpath>
|
||||
<xpath expr='//div[@name="bank_cash_commands"]' position="before">
|
||||
<div t-if="journal_type == 'bank'">
|
||||
<a type="object" name="import_statement">Import Statement</a>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user