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

Syncing from upstream OCA/account-reconcile (15.0) #539

Merged
merged 21 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e6c50ea
[12.0][ADD] create addon: account_reconcile_restrict_partner_mismatch
Jul 18, 2019
a0a02c7
[MIG][12.0] adapt tests to v12
Jul 18, 2019
01ade1d
[FIX] Add description to a model
MiquelRForgeFlow Aug 2, 2019
90c86ce
[IMP] account_reconcile_restrict_partner_mismatch: black, isort
ernestotejeda Nov 25, 2019
4a99174
[MIG] account_reconcile_restrict_partner_mismatch: Migration to 13.0
ernestotejeda Nov 26, 2019
350e039
[IMP] account_partner_reconcile: black, isort, prettier
MiquelRForgeFlow Jan 29, 2020
f5bc6aa
[IMP] account_reconcile_restrict_partner_mismatch: black, isort, pret…
Sep 29, 2021
acc49ac
[MIG] account_reconcile_restrict_partner_mismatch: Migration to 14.0
Oct 6, 2021
9ec876e
[UPD] Update account_reconcile_restrict_partner_mismatch.pot
oca-travis Oct 8, 2021
0735bfa
[UPD] README.rst
OCA-git-bot Oct 8, 2021
12d887c
Added translation using Weblate (Spanish (Argentina))
ibuioli Nov 14, 2021
31da3d7
Translated using Weblate (Spanish (Argentina))
ibuioli Nov 14, 2021
3f3eeff
Added translation using Weblate (Spanish)
extrememicro Apr 12, 2022
1f50cd9
Translated using Weblate (Spanish)
extrememicro Apr 12, 2022
e8c0123
Translated using Weblate (Spanish)
LudLaf Aug 4, 2022
b1a79ba
[IMP] account_reconcile_restrict_partner_mismatch: black, isort, pret…
kaynnan Jul 7, 2023
df8af44
[MIG] account_reconcile_restrict_partner_mismatch: Migration to 15.0
kaynnan Jul 7, 2023
eba8705
Merge PR #565 into 15.0
OCA-git-bot Jan 29, 2024
fae2a28
[UPD] Update account_reconcile_restrict_partner_mismatch.pot
Jan 29, 2024
e8b1f82
[BOT] post-merge updates
OCA-git-bot Jan 29, 2024
bbeaf07
Update translation files
weblate Jan 29, 2024
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ addon | version | maintainers | summary
[account_move_reconcile_helper](account_move_reconcile_helper/) | 15.0.1.0.0 | | Provides tools to facilitate reconciliation
[account_partner_reconcile](account_partner_reconcile/) | 15.0.1.0.0 | | Account Partner Reconcile
[account_reconcile_payment_order](account_reconcile_payment_order/) | 15.0.1.0.1 | [![pedrobaeza](https://github.com/pedrobaeza.png?size=30px)](https://github.com/pedrobaeza) | Automatically propose all lines generated from payment orders
[account_reconcile_restrict_partner_mismatch](account_reconcile_restrict_partner_mismatch/) | 15.0.1.0.0 | | Restrict reconciliation on receivable and payable accounts to the same partner
[account_reconciliation_widget](account_reconciliation_widget/) | 15.0.1.2.14 | | Account reconciliation widget
[account_reconciliation_widget_due_date](account_reconciliation_widget_due_date/) | 15.0.1.0.1 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Account Reconciliation Widget Due Date
[account_reconciliation_widget_limit_aml](account_reconciliation_widget_limit_aml/) | 15.0.1.0.0 | | Filter all account move lines in reconciliation view
Expand Down
93 changes: 93 additions & 0 deletions account_reconcile_restrict_partner_mismatch/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
===================================
Reconcile restrict partner mismatch
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9b62ae0a09a3c1cdb0380c4bb652b825502f87827c76e7f289d5860c3b1a863a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--reconcile-lightgray.png?logo=github
:target: https://github.com/OCA/account-reconcile/tree/15.0/account_reconcile_restrict_partner_mismatch
:alt: OCA/account-reconcile
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-reconcile-15-0/account-reconcile-15-0-account_reconcile_restrict_partner_mismatch
: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-reconcile&target_branch=15.0
:alt: Try me on Runboat

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

This module restricts reconciliation between journal items when:

- both items have different partners
- one item is with partner and the other without it

This rule applies only for journal items using receivable and payable account type.

As at the moment of installation some journal items could have been reconciled
using different partners, you can detect them in menu Accounting > Adviser >
Reconciled items with partner mismatch.

**Table of contents**

.. contents::
:local:

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

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

* Camptocamp

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

* `Tecnativa <https://www.tecnativa.com>`_:
* Ernesto Tejeda
* `Trobz <https://trobz.com>`_:
* Nguyen Ho <nguyenhk@trobz.com>

Other credits
~~~~~~~~~~~~~

The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp

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-reconcile <https://github.com/OCA/account-reconcile/tree/15.0/account_reconcile_restrict_partner_mismatch>`_ 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_reconcile_restrict_partner_mismatch/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models, report
16 changes: 16 additions & 0 deletions account_reconcile_restrict_partner_mismatch/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2019 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Reconcile restrict partner mismatch",
"summary": "Restrict reconciliation on receivable "
"and payable accounts to the same partner",
"version": "15.0.1.0.0",
"depends": ["account"],
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-reconcile",
"category": "Finance",
"license": "AGPL-3",
"data": ["report/account_move_lines_report.xml", "security/ir.model.access.csv"],
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_reconcile_restrict_partner_mismatch
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \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_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__account_id
msgid "Account"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model,name:account_reconcile_restrict_partner_mismatch.model_account_reconcile_partner_mismatch_report
msgid "Account Reconcile Partner Mismatch Report"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__account_type_id
msgid "Account type"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__credit_amount
msgid "Credit amount"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__credit_move_id
msgid "Credit move"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__credit_partner_id
msgid "Credit partner"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__debit_amount
msgid "Debit amount"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__debit_move_id
msgid "Debit move"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__debit_partner_id
msgid "Debit partner"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__display_name
msgid "Display Name"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__full_reconcile_id
msgid "Full Reconcile"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__id
msgid "ID"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model,name:account_reconcile_restrict_partner_mismatch.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__partial_reconcile_id
msgid "Partial Reconcile"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.actions.act_window,name:account_reconcile_restrict_partner_mismatch.action_account_reconcile_partner_mismatch_report
#: model:ir.ui.menu,name:account_reconcile_restrict_partner_mismatch.menu_account_reconcile_partner_mismatch_report
#: model_terms:ir.ui.view,arch_db:account_reconcile_restrict_partner_mismatch.account_reconcile_partner_mismatch_report_view_form
msgid "Reconciled items with partner mismatch"
msgstr ""

#. module: account_reconcile_restrict_partner_mismatch
#: code:addons/account_reconcile_restrict_partner_mismatch/models/account_move_line.py:0
#, python-format
msgid ""
"The partner has to be the same on all lines for receivable and payable "
"accounts!"
msgstr ""
110 changes: 110 additions & 0 deletions account_reconcile_restrict_partner_mismatch/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_reconcile_restrict_partner_mismatch
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-08-04 18:06+0000\n"
"Last-Translator: Luis D. Lafaurie <luislafaurie@hotmail.com>\n"
"Language-Team: none\n"
"Language: es\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"
"X-Generator: Weblate 4.3.2\n"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__account_id
msgid "Account"
msgstr "Cuenta"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model,name:account_reconcile_restrict_partner_mismatch.model_account_reconcile_partner_mismatch_report
msgid "Account Reconcile Partner Mismatch Report"
msgstr ""
"Informe sobre la falta de coincidencia de cuentas conciliadas de los socios"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__account_type_id
msgid "Account type"
msgstr "Tipo de cuenta"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__credit_amount
msgid "Credit amount"
msgstr "Importe del crédito"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__credit_move_id
msgid "Credit move"
msgstr "Movimiento del crédito"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__credit_partner_id
msgid "Credit partner"
msgstr "Socio del crédito"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__debit_amount
msgid "Debit amount"
msgstr "Importe de débito"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__debit_move_id
msgid "Debit move"
msgstr "Movimiento de débito"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__debit_partner_id
msgid "Debit partner"
msgstr "Socio de débito"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__display_name
msgid "Display Name"
msgstr "Nombre de la pantalla"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__full_reconcile_id
msgid "Full Reconcile"
msgstr "Conciliación completa"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__id
msgid "ID"
msgstr "Identificación"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model,name:account_reconcile_restrict_partner_mismatch.model_account_move_line
msgid "Journal Item"
msgstr "Artículo del diario"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report____last_update
msgid "Last Modified on"
msgstr "Ultima modificación en"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.model.fields,field_description:account_reconcile_restrict_partner_mismatch.field_account_reconcile_partner_mismatch_report__partial_reconcile_id
msgid "Partial Reconcile"
msgstr "Conciliación parcial"

#. module: account_reconcile_restrict_partner_mismatch
#: model:ir.actions.act_window,name:account_reconcile_restrict_partner_mismatch.action_account_reconcile_partner_mismatch_report
#: model:ir.ui.menu,name:account_reconcile_restrict_partner_mismatch.menu_account_reconcile_partner_mismatch_report
#: model_terms:ir.ui.view,arch_db:account_reconcile_restrict_partner_mismatch.account_reconcile_partner_mismatch_report_view_form
msgid "Reconciled items with partner mismatch"
msgstr "Artículos conciliados sin coincidencia de socio"

#. module: account_reconcile_restrict_partner_mismatch
#: code:addons/account_reconcile_restrict_partner_mismatch/models/account_move_line.py:0
#, python-format
msgid ""
"The partner has to be the same on all lines for receivable and payable "
"accounts!"
msgstr ""
"¡El socio tiene que ser el mismo en todas las líneas de cuentas por cobrar y "
"por pagar!"
Loading
Loading