diff --git a/account_journal_dashboard_statement_button/README.rst b/account_journal_dashboard_statement_button/README.rst new file mode 100644 index 000000000..37d375535 --- /dev/null +++ b/account_journal_dashboard_statement_button/README.rst @@ -0,0 +1,92 @@ +========================================== +Account Journal Dashboard Statement Button +========================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:2d4ab98478de6b41e174886e654fef4d7442564c034b0968e78b915626fe0fab + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-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/16.0/account_journal_dashboard_statement_button + :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-16-0/bank-statement-import-16-0-account_journal_dashboard_statement_button + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module enhances the Account Journal Dashboard by introducing a shortcut button for Bank and Cash journals. The button provides a direct link to the Bank Statements view, streamlining access to statement management. + +**Table of contents** + +.. contents:: + :local: + +Use Cases / Context +=================== + +In the default (vanilla) behavior of Odoo CE, when a user clicks on the name of a Bank or Cash journal in the Accounting dashboard, they are redirected to the Statements view. However, this behavior changes when installing the OCA Reconcile add-ons or using Odoo EE. + +This module offers an alternative by adding a **Statements** button directly into the journal card, providing users with a one-click option to access the Statements view. This approach ensures that users can maintain the familiar workflow of quickly accessing the Statements view, even when other customizations or versions are in place, without altering the default functionality. + +Usage +===== + +The Statement button will only appear once there are records linked to the corresponding journal. + +.. image:: https://raw.githubusercontent.com/OCA/bank-statement-import/16.0/account_journal_dashboard_statement_button/static/img/account_journal_dashboard.png + :alt: Account Journal Dashboard + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Binhex + +Contributors +~~~~~~~~~~~~ + +- Binhex (https://binhex.cloud) + - Rolando Pérez Rebollo + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/bank-statement-import `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_journal_dashboard_statement_button/__init__.py b/account_journal_dashboard_statement_button/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/account_journal_dashboard_statement_button/__manifest__.py b/account_journal_dashboard_statement_button/__manifest__.py new file mode 100644 index 000000000..296ae71dd --- /dev/null +++ b/account_journal_dashboard_statement_button/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2024 r.perez@binhex.cloud +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Account Journal Dashboard Statement Button", + "category": "Accounting", + "summary": """This module enhances the Account Journal Dashboard by introducing a + shortcut button in the Bank and Cash journals. The button provides a direct link + to the Bank Statements view.""", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "author": "Binhex,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/bank-statement-import", + "depends": ["account"], + "data": [ + "views/account_journal_views.xml", + ], +} diff --git a/account_journal_dashboard_statement_button/i18n/account_journal_dashboard_statement_button.pot b/account_journal_dashboard_statement_button/i18n/account_journal_dashboard_statement_button.pot new file mode 100644 index 000000000..561276a54 --- /dev/null +++ b/account_journal_dashboard_statement_button/i18n/account_journal_dashboard_statement_button.pot @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_dashboard_statement_button +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-12-14 13:52+0000\n" +"PO-Revision-Date: 2024-12-14 13:52+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_journal_dashboard_statement_button +#: model_terms:ir.ui.view,arch_db:account_journal_dashboard_statement_button.account_journal_dashboard_kanban_view +msgid "Statements" +msgstr "" diff --git a/account_journal_dashboard_statement_button/i18n/es.po b/account_journal_dashboard_statement_button/i18n/es.po new file mode 100644 index 000000000..0d8bcd2b6 --- /dev/null +++ b/account_journal_dashboard_statement_button/i18n/es.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_dashboard_statement_button +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-12-14 13:53+0000\n" +"PO-Revision-Date: 2024-12-14 13:53+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_journal_dashboard_statement_button +#: model_terms:ir.ui.view,arch_db:account_journal_dashboard_statement_button.account_journal_dashboard_kanban_view +msgid "Statements" +msgstr "Extractos" diff --git a/account_journal_dashboard_statement_button/readme/CONTEXT.rst b/account_journal_dashboard_statement_button/readme/CONTEXT.rst new file mode 100644 index 000000000..4b91f37a4 --- /dev/null +++ b/account_journal_dashboard_statement_button/readme/CONTEXT.rst @@ -0,0 +1,3 @@ +In the default (vanilla) behavior of Odoo CE, when a user clicks on the name of a Bank or Cash journal in the Accounting dashboard, they are redirected to the Statements view. However, this behavior changes when installing the OCA Reconcile add-ons or using Odoo EE. + +This module offers an alternative by adding a **Statements** button directly into the journal card, providing users with a one-click option to access the Statements view. This approach ensures that users can maintain the familiar workflow of quickly accessing the Statements view, even when other customizations or versions are in place, without altering the default functionality. diff --git a/account_journal_dashboard_statement_button/readme/CONTRIBUTORS.rst b/account_journal_dashboard_statement_button/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..810935cb5 --- /dev/null +++ b/account_journal_dashboard_statement_button/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +- Binhex (https://binhex.cloud) + - Rolando Pérez Rebollo diff --git a/account_journal_dashboard_statement_button/readme/DESCRIPTION.rst b/account_journal_dashboard_statement_button/readme/DESCRIPTION.rst new file mode 100644 index 000000000..16a8e7b22 --- /dev/null +++ b/account_journal_dashboard_statement_button/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module enhances the Account Journal Dashboard by introducing a shortcut button for Bank and Cash journals. The button provides a direct link to the Bank Statements view, streamlining access to statement management. diff --git a/account_journal_dashboard_statement_button/readme/USAGE.rst b/account_journal_dashboard_statement_button/readme/USAGE.rst new file mode 100644 index 000000000..2d945f598 --- /dev/null +++ b/account_journal_dashboard_statement_button/readme/USAGE.rst @@ -0,0 +1,4 @@ +The Statement button will only appear once there are records linked to the corresponding journal. + +.. image:: ../static/img/account_journal_dashboard.png + :alt: Account Journal Dashboard diff --git a/account_journal_dashboard_statement_button/static/description/icon.png b/account_journal_dashboard_statement_button/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/account_journal_dashboard_statement_button/static/description/icon.png differ diff --git a/account_journal_dashboard_statement_button/static/description/index.html b/account_journal_dashboard_statement_button/static/description/index.html new file mode 100644 index 000000000..40ca04e9a --- /dev/null +++ b/account_journal_dashboard_statement_button/static/description/index.html @@ -0,0 +1,436 @@ + + + + + +Account Journal Dashboard Statement Button + + + +
+

Account Journal Dashboard Statement Button

+ + +

Beta License: AGPL-3 OCA/bank-statement-import Translate me on Weblate Try me on Runboat

+

This module enhances the Account Journal Dashboard by introducing a shortcut button for Bank and Cash journals. The button provides a direct link to the Bank Statements view, streamlining access to statement management.

+

Table of contents

+ +
+

Use Cases / Context

+

In the default (vanilla) behavior of Odoo CE, when a user clicks on the name of a Bank or Cash journal in the Accounting dashboard, they are redirected to the Statements view. However, this behavior changes when installing the OCA Reconcile add-ons or using Odoo EE.

+

This module offers an alternative by adding a Statements button directly into the journal card, providing users with a one-click option to access the Statements view. This approach ensures that users can maintain the familiar workflow of quickly accessing the Statements view, even when other customizations or versions are in place, without altering the default functionality.

+
+
+

Usage

+

The Statement button will only appear once there are records linked to the corresponding journal.

+Account Journal Dashboard +
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Binhex
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/bank-statement-import project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_journal_dashboard_statement_button/static/img/account_journal_dashboard.png b/account_journal_dashboard_statement_button/static/img/account_journal_dashboard.png new file mode 100644 index 000000000..a34b3f6a8 Binary files /dev/null and b/account_journal_dashboard_statement_button/static/img/account_journal_dashboard.png differ diff --git a/account_journal_dashboard_statement_button/views/account_journal_views.xml b/account_journal_dashboard_statement_button/views/account_journal_views.xml new file mode 100644 index 000000000..37742b6aa --- /dev/null +++ b/account_journal_dashboard_statement_button/views/account_journal_views.xml @@ -0,0 +1,40 @@ + + + + + account.journal + + + + + + + + + + + + + + + diff --git a/setup/account_journal_dashboard_statement_button/odoo/addons/account_journal_dashboard_statement_button b/setup/account_journal_dashboard_statement_button/odoo/addons/account_journal_dashboard_statement_button new file mode 120000 index 000000000..c3f6e21b1 --- /dev/null +++ b/setup/account_journal_dashboard_statement_button/odoo/addons/account_journal_dashboard_statement_button @@ -0,0 +1 @@ +../../../../account_journal_dashboard_statement_button \ No newline at end of file diff --git a/setup/account_journal_dashboard_statement_button/setup.py b/setup/account_journal_dashboard_statement_button/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/account_journal_dashboard_statement_button/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)