[MIG] account_statement_import_base v14 -> v16

This commit is contained in:
Alexis de Lattre
2023-01-19 00:11:33 +01:00
committed by Duy (Đỗ Anh)
parent 40b96bdc33
commit e85d33ceaa
5 changed files with 25 additions and 77 deletions

View File

@@ -14,13 +14,13 @@ Base module for Bank Statement Import
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github
:target: https://github.com/OCA/bank-statement-import/tree/14.0/account_statement_import_base
:target: https://github.com/OCA/bank-statement-import/tree/16.0/account_statement_import_base
:alt: OCA/bank-statement-import
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_base
:target: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/174/14.0
:target: https://runbot.odoo-community.org/runbot/174/16.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -41,7 +41,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_base%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_base%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
@@ -79,6 +79,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-alexis-via|
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/14.0/account_statement_import_base>`_ project on GitHub.
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/16.0/account_statement_import_base>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -5,9 +5,9 @@
{
"name": "Base module for Bank Statement Import",
"category": "Accounting",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"license": "LGPL-3",
"depends": ["account"],
"depends": ["account_statement_base"],
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"development_status": "Mature",

View File

@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -23,18 +23,6 @@ msgstr ""
msgid "Bank Statement Line"
msgstr ""
#. module: account_statement_import_base
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_bank_statement_line__display_name
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_journal__display_name
msgid "Display Name"
msgstr ""
#. module: account_statement_import_base
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_bank_statement_line__id
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_journal__id
msgid "ID"
msgstr ""
#. module: account_statement_import_base
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_bank_statement_line__unique_import_id
msgid "Import ID"
@@ -45,24 +33,8 @@ msgstr ""
msgid "Journal"
msgstr ""
#. module: account_statement_import_base
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_bank_statement_line____last_update
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_journal____last_update
msgid "Last Modified on"
msgstr ""
#. module: account_statement_import_base
#: model_terms:ir.ui.view,arch_db:account_statement_import_base.view_bank_statement_line_form
msgid "Notes"
msgstr ""
#. module: account_statement_import_base
#: model:ir.model.fields,field_description:account_statement_import_base.field_account_bank_statement_line__raw_data
#: model_terms:ir.ui.view,arch_db:account_statement_import_base.view_bank_statement_line_form
#: model_terms:ir.ui.view,arch_db:account_statement_import_base.account_bank_statement_line_form
msgid "Raw Data"
msgstr ""
#. module: account_statement_import_base
#: model_terms:ir.ui.view,arch_db:account_statement_import_base.view_bank_statement_line_form
msgid "Technical Information"
msgstr ""

View File

@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/14.0/account_statement_import_base"><img alt="OCA/bank-statement-import" src="https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_base"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/174/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/16.0/account_statement_import_base"><img alt="OCA/bank-statement-import" src="https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_base"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/174/16.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This is a technical module designed to share code between 2 other modules:</p>
<ul class="simple">
<li><strong>account_statement_import</strong> that allows to import bank statements from files,</li>
@@ -390,7 +390,7 @@ ul.auto-toc {
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_base%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_base%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -416,7 +416,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external" href="https://github.com/alexis-via"><img alt="alexis-via" src="https://github.com/alexis-via.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/14.0/account_statement_import_base">OCA/bank-statement-import</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/16.0/account_statement_import_base">OCA/bank-statement-import</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>

View File

@@ -6,45 +6,21 @@
-->
<odoo>
<record id="view_bank_statement_line_form" model="ir.ui.view">
<record id="account_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="inherit_id"
ref="account_statement_base.account_bank_statement_line_form"
/>
<field name="arch" type="xml">
<field name="statement_id" position="attributes">
<attribute
name="invisible"
>not context.get('statement_line_main_view')</attribute>
</field>
<xpath expr="//field[@name='company_id']/.." position="attributes">
<attribute name="col">2</attribute>
</xpath>
<field name="sequence" position="attributes">
<attribute name="invisible">1</attribute>
</field>
<field name="narration" position="attributes">
<attribute name="invisible">1</attribute>
</field>
<field name="transaction_type" position="after">
<field name="partner_bank_id" />
</field>
<sheet position="inside">
<notebook>
<page name="narration" string="Notes">
<field name="narration" nolabel="1" />
</page>
<page name="technical" string="Technical Information">
<group name="tech-fields">
<field name="unique_import_id" />
<field name="partner_name" />
<field name="account_number" />
<field name="is_reconciled" />
</group>
<group name="raw_data" string="Raw Data">
<field name="raw_data" nolabel="1" />
</group>
</page>
</notebook>
</sheet>
<group name="tech-fields" position="inside">
<field name="unique_import_id" />
</group>
<group name="tech-fields" position="after">
<group name="raw_data" string="Raw Data">
<field name="raw_data" nolabel="1" colspan="2" />
</group>
</group>
</field>
</record>