From 86111d347cca0d77bd5a4270ce10440cee478879 Mon Sep 17 00:00:00 2001
From: pilarvargas-tecnativa
Date: Fri, 25 Oct 2024 18:04:35 +0200
Subject: [PATCH] [MIG] account_statement_import_move_line: Migration to
version 17.0
TT51242
---
account_statement_import_move_line/README.rst | 20 +++++---
.../__manifest__.py | 5 +-
.../readme/CONTRIBUTORS.md | 1 +
.../readme/USAGE.md | 14 +++---
.../static/description/index.html | 19 +++++---
...account_bank_statement_import_move_line.py | 32 +++----------
.../views/account_bank_statement_view.xml | 21 ++++++---
.../views/account_journal_dashboard_view.xml | 17 +++++++
.../wizards/account_statement_line_create.py | 46 +++++++++++++++----
.../account_statement_line_create_view.xml | 45 ++++++++++--------
10 files changed, 137 insertions(+), 83 deletions(-)
create mode 100644 account_statement_import_move_line/views/account_journal_dashboard_view.xml
diff --git a/account_statement_import_move_line/README.rst b/account_statement_import_move_line/README.rst
index b1a4e7b7..dcde01e4 100644
--- a/account_statement_import_move_line/README.rst
+++ b/account_statement_import_move_line/README.rst
@@ -49,14 +49,19 @@ To configure this module, you need to:
Usage
=====
+Journal entries can be imported in two ways, from a new bank statement
+or from an existing bank statement.
+
1. Go to Invoicing > Dashboard.
-2. Create a new bank statement from a bank journal.
-3. Click button "Import Journal Items".
-4. Select filtering options.
-5. Click on button "Add All Move Lines" to auto-select the move lines
- matching the selected criteria or click on Add an item to manually
- select the move lines filtered by the criteria.
-6. Click on button "Create Statement Lines".
+2. To import to a new statement, in the relevant bank journal click on
+ ‘Import journal items’. To import from an existing bank statement,
+ open the statement form and click on ‘Import journal items’.
+3. Select the filtering options.
+4. Click on the ‘Add all transaction lines’ button to automatically
+ select the transaction lines matching the selected criteria or click
+ on Add an item to manually select the transaction lines filtered by
+ the criteria.
+5. Click the ‘Create extract lines’ button.
Bug Tracker
===========
@@ -85,6 +90,7 @@ Contributors
- Victor M.M. Torres
- João Marques
- Ernesto García
+ - Pilar Vargas
- Pedro Gonzalez
diff --git a/account_statement_import_move_line/__manifest__.py b/account_statement_import_move_line/__manifest__.py
index 2c0c1aba..cbd32448 100644
--- a/account_statement_import_move_line/__manifest__.py
+++ b/account_statement_import_move_line/__manifest__.py
@@ -3,17 +3,18 @@
{
"name": "Bank statement import move lines",
- "version": "15.0.1.0.0",
+ "version": "17.0.1.0.0",
"category": "Accounting",
"summary": "Import journal items into bank statement",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
"maintainers": ["pedrobaeza"],
"website": "https://github.com/OCA/bank-statement-import",
- "depends": ["account"],
+ "depends": ["account_statement_base"],
"data": [
"security/ir.model.access.csv",
"wizards/account_statement_line_create_view.xml",
"views/account_bank_statement_view.xml",
+ "views/account_journal_dashboard_view.xml",
],
"license": "AGPL-3",
"development_status": "Production/Stable",
diff --git a/account_statement_import_move_line/readme/CONTRIBUTORS.md b/account_statement_import_move_line/readme/CONTRIBUTORS.md
index 1517694c..09440b59 100644
--- a/account_statement_import_move_line/readme/CONTRIBUTORS.md
+++ b/account_statement_import_move_line/readme/CONTRIBUTORS.md
@@ -3,4 +3,5 @@
- Victor M.M. Torres
- João Marques
- Ernesto García
+ - Pilar Vargas
- Pedro Gonzalez \<\>
diff --git a/account_statement_import_move_line/readme/USAGE.md b/account_statement_import_move_line/readme/USAGE.md
index 3223a4a0..12aac794 100644
--- a/account_statement_import_move_line/readme/USAGE.md
+++ b/account_statement_import_move_line/readme/USAGE.md
@@ -1,8 +1,6 @@
-1. Go to Invoicing \> Dashboard.
-2. Create a new bank statement from a bank journal.
-3. Click button "Import Journal Items".
-4. Select filtering options.
-5. Click on button "Add All Move Lines" to auto-select the move lines
- matching the selected criteria or click on Add an item to manually
- select the move lines filtered by the criteria.
-6. Click on button "Create Statement Lines".
+Journal entries can be imported in two ways, from a new bank statement or from an existing bank statement.
+1. Go to Invoicing > Dashboard.
+2. To import to a new statement, in the relevant bank journal click on ‘Import journal items’. To import from an existing bank statement, open the statement form and click on ‘Import journal items’.
+3. Select the filtering options.
+5. Click on the ‘Add all transaction lines’ button to automatically select the transaction lines matching the selected criteria or click on Add an item to manually select the transaction lines filtered by the criteria.
+6. Click the ‘Create extract lines’ button.
diff --git a/account_statement_import_move_line/static/description/index.html b/account_statement_import_move_line/static/description/index.html
index b044a25e..8a830532 100644
--- a/account_statement_import_move_line/static/description/index.html
+++ b/account_statement_import_move_line/static/description/index.html
@@ -398,15 +398,19 @@ into the bank statement.
Journal entries can be imported in two ways, from a new bank statement
+or from an existing bank statement.
Go to Invoicing > Dashboard.
-
Create a new bank statement from a bank journal.
-
Click button “Import Journal Items”.
-
Select filtering options.
-
Click on button “Add All Move Lines” to auto-select the move lines
-matching the selected criteria or click on Add an item to manually
-select the move lines filtered by the criteria.
-
Click on button “Create Statement Lines”.
+
To import to a new statement, in the relevant bank journal click on
+‘Import journal items’. To import from an existing bank statement,
+open the statement form and click on ‘Import journal items’.
+
Select the filtering options.
+
Click on the ‘Add all transaction lines’ button to automatically
+select the transaction lines matching the selected criteria or click
+on Add an item to manually select the transaction lines filtered by
+the criteria.
+
Click the ‘Create extract lines’ button.
@@ -433,6 +437,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome