Skip to content

Commit

Permalink
Merge PR #1725 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by vdewulf
  • Loading branch information
OCA-git-bot committed Jan 30, 2025
2 parents 3f6953a + cfc1ec0 commit 00ed123
Show file tree
Hide file tree
Showing 95 changed files with 14,636 additions and 0 deletions.
110 changes: 110 additions & 0 deletions account_reversal/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
================
Account Reversal
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aea6af0bc6c878d12ee46838cf66f5dff38e15a1b575a58ad95213301f04633e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/16.0/account_reversal
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_reversal
: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/account-financial-tools&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module improves the current Odoo implementation of accounting entries
reversal process by:

* adding a checkbox and filter "to be reversed" on account moves.
* allowing to add a line reason (the move reason already exists in core).
* makes the reason for account entries visible for normal entries too.

**Table of contents**

.. contents::
:local:

Usage
=====

* To mark journal entries as 'To Be Reversed':

#. Go to Accounting > Accounting > Journals > Journal Entries
#. In the journal entry, go to 'Other Info' tab and check the 'To Be Reversed' field.

.. image:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_reversal/static/description/move_form.png

* In order to allow tracking entries that must be reversed for any reason:

#. Go To Accounting > Accounting > Journals > Journal Entries to be Reversed

* The Reverse wizard with both reasons looks like:

.. image:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_reversal/static/description/reversal.png

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_reversal%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
~~~~~~~

* Akretion
* Camptocamp
* ACSONE SA/NV
* Tecnativa

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

* Alexis de Lattre (Akretion)
* Guewen Baconnier (Camptocamp)
* Nicolas Bessi (Camptocamp)
* Torvald Bringsvor (Bringsvor Consulting)
* Sandy Carter (Savoir-faire Linux)
* Stéphane Bidoul (ACSONE)
* Antonio Espinosa (Tecnativa)
* Bhavesh Odedra <[email protected]>
* Denis Roussel <[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/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_reversal>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_reversal/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models, wizards
23 changes: 23 additions & 0 deletions account_reversal/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2011 Alexis de Lattre <[email protected]>
# Copyright 2012-2013 Guewen Baconnier (Camptocamp)
# Copyright 2016 Antonio Espinosa <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Reversal",
"summary": "Account reversal usability improvements",
"version": "16.0.1.0.0",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-financial-tools",
"author": "Akretion,"
"Camptocamp,"
"ACSONE SA/NV,"
"Tecnativa,"
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["account"],
"data": [
"views/account_move_view.xml",
"wizards/account_move_reversal.xml",
],
}
61 changes: 61 additions & 0 deletions account_reversal/i18n/account_reversal.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_reversal
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-19 08:57+0000\n"
"PO-Revision-Date: 2023-09-19 08:57+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_reversal
#: model:ir.model,name:account_reversal.model_account_move_reversal
msgid "Account Move Reversal"
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_bank_statement_line__to_be_reversed
#: model:ir.model.fields,help:account_reversal.field_account_move__to_be_reversed
#: model:ir.model.fields,help:account_reversal.field_account_payment__to_be_reversed
msgid "Check this box if your entry has to be reversed at the end of period."
msgstr ""

#. module: account_reversal
#: model:ir.actions.act_window,name:account_reversal.action_move_to_be_reversed
#: model:ir.ui.menu,name:account_reversal.menu_move_to_be_reversed
#: model_terms:ir.ui.view,arch_db:account_reversal.view_account_move_filter
msgid "Journal Entries to be Reversed"
msgstr ""

#. module: account_reversal
#: model:ir.model,name:account_reversal.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reversal__line_reason
msgid "Line Reason"
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_reversal__line_reason
msgid ""
"Prefix that will be added to the 'Name' of the reversal account entry items."
" If empty, Odoo uses the same name of the move line to reverse. (NOTE: A "
"space is added after the prefix)."
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_bank_statement_line__to_be_reversed
#: model:ir.model.fields,field_description:account_reversal.field_account_move__to_be_reversed
#: model:ir.model.fields,field_description:account_reversal.field_account_payment__to_be_reversed
#: model_terms:ir.ui.view,arch_db:account_reversal.view_account_move_filter
msgid "To Be Reversed"
msgstr ""
188 changes: 188 additions & 0 deletions account_reversal/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_reversal
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-17 15:49+0000\n"
"PO-Revision-Date: 2018-05-17 15:49+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: account_reversal
#: model:ir.model,name:account_reversal.model_account_move
msgid "Account Entry"
msgstr "Asiento contable"

#. module: account_reversal
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_reverse
msgid "Cancel"
msgstr "Cancelar"

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_to_be_reversed
msgid "Check this box if your entry has to be reversed at the end of period."
msgstr ""

#. module: account_reversal
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_reverse
msgid "Create reversal journal entries"
msgstr "Crear inversos de los asientos contables"

#. module: account_reversal
#: model:ir.model,name:account_reversal.model_account_move_reverse
msgid "Create reversal of account moves"
msgstr "Crear inversos de los asientos contables"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_create_date
msgid "Created on"
msgstr "Creado en"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_display_name
msgid "Display Name"
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_reverse_date
msgid ""
"Enter the date of the reversal account entries. By default, Odoo proposes "
"the same date of the move to reverse."
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_reverse_journal_id
msgid ""
"Enter the journal of the reversal account entries. If empty, Odoo uses the "
"same journal of the move to reverse."
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_move_prefix
msgid "Entries Ref. Prefix"
msgstr "Prefijo para la referencia"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_id
msgid "ID"
msgstr "ID"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_line_prefix
msgid "Items Name Prefix"
msgstr "Prefijo para el nombre del apunte"

#. module: account_reversal
#: model:ir.actions.act_window,name:account_reversal.action_move_to_be_reversed
#: model:ir.ui.menu,name:account_reversal.menu_move_to_be_reversed
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_filter
msgid "Journal Entries to be Reversed"
msgstr "Asientos contables a invertir"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse___last_update
msgid "Last Modified on"
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_reverse_reconcile
msgid "Mark this if you want to reconcile items of both moves."
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_reverse_line_prefix
msgid ""
"Prefix that will be added to the 'Name' of the reversal account entrie "
"items. If empty, Odoo uses the same name of the move line to reverse. (NOTE: "
"A space is added after the prefix)."
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,help:account_reversal.field_account_move_reverse_move_prefix
msgid ""
"Prefix that will be added to the 'Ref' of the reversal account entries. If "
"empty, Odoo uses the Ref of the move to reverse. (NOTE: A space is added "
"after the prefix)."
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_reconcile
msgid "Reconcile"
msgstr ""

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_date
msgid "Reversal Date"
msgstr "Fecha"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reversal_id_5678
msgid "Reversal Entry"
msgstr "Asiento inverso"

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_reverse_journal_id
msgid "Reversal Journal"
msgstr "Diario"

#. module: account_reversal
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_reverse
msgid "Reverse Entries"
msgstr "Asientos inversos"

#. module: account_reversal
#: code:addons/account_reversal/wizard/account_move_reverse.py:58
#, python-format
msgid "Reverse moves"
msgstr ""

#. module: account_reversal
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_reverse
msgid ""
"This will create reversal for all selected entries whether checked 'to be "
"reversed' or not."
msgstr ""
"Esto creará el inverso para todos los asientos seleccionados "
"independientemente de si tienen la casilla \"Para ser invertido\" marcada."

#. module: account_reversal
#: model:ir.model.fields,field_description:account_reversal.field_account_move_to_be_reversed
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_filter
msgid "To Be Reversed"
msgstr "Para ser invertido"

#. module: account_reversal
#: code:addons/account_reversal/models/account_move.py:56
#, python-format
msgid "Wrong company Journal is '%s' but we have '%s'"
msgstr ""

#. module: account_reversal
#: model:ir.ui.view,arch_db:account_reversal.view_account_move_reverse
msgid "or"
msgstr "o"
Loading

0 comments on commit 00ed123

Please sign in to comment.