Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] [ADD] account_journal_dashboard_statement_button #749

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions account_journal_dashboard_statement_button/README.rst
Original file line number Diff line number Diff line change
@@ -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 <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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_journal_dashboard_statement_button%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.

Credits
=======

Authors
~~~~~~~

* Binhex

Contributors
~~~~~~~~~~~~

- Binhex (https://binhex.cloud)
- Rolando Pérez Rebollo <[email protected]>

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 <https://github.com/OCA/bank-statement-import/tree/16.0/account_journal_dashboard_statement_button>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
18 changes: 18 additions & 0 deletions account_journal_dashboard_statement_button/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2024 [email protected]
# 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",
],
}
Original file line number Diff line number Diff line change
@@ -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 "<span>Statements</span>"
msgstr ""
21 changes: 21 additions & 0 deletions account_journal_dashboard_statement_button/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 "<span>Statements</span>"
msgstr "<span>Extractos</span>"
3 changes: 3 additions & 0 deletions account_journal_dashboard_statement_button/readme/CONTEXT.rst
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Binhex (https://binhex.cloud)
- Rolando Pérez Rebollo <[email protected]>
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 4 additions & 0 deletions account_journal_dashboard_statement_button/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading