Skip to content

Commit

Permalink
Merge pull request #635 from OCA/14.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/account-reconcile (14.0)
  • Loading branch information
bt-admin authored Sep 7, 2024
2 parents 9278dd0 + a077fad commit f19a48b
Show file tree
Hide file tree
Showing 19 changed files with 761 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[account_bank_statement_reopen_skip_undo_reconciliation](account_bank_statement_reopen_skip_undo_reconciliation/) | 14.0.1.0.0 | | When reopening a bank statement it will respect the reconciled entries.
[account_in_payment](account_in_payment/) | 14.0.1.0.0 | | This module enables in-payment mode for your accounting
[account_mass_reconcile](account_mass_reconcile/) | 14.0.1.1.2 | | Account Mass Reconcile
[account_mass_reconcile_as_job](account_mass_reconcile_as_job/) | 14.0.1.1.2 | | Account Mass Reconcile as Jobs
[account_mass_reconcile_by_mrp_production](account_mass_reconcile_by_mrp_production/) | 14.0.1.0.0 | | Allows to reconcile based on the MO line
Expand Down
78 changes: 78 additions & 0 deletions account_in_payment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
==================
Account In Payment
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3e2f53151975222c463afd402d48a21af168de43c6c3f00f2b7ba62caa64272f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/14.0/account_in_payment
: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-14-0/account-reconcile-14-0-account_in_payment
: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=14.0
:alt: Try me on Runboat

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

This module enables in-payment management for all your accounting.

Should not be installed with Enterprise Edition accounting.

**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_in_payment%0Aversion:%2014.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
-------

* Dixmit

Contributors
------------

- Enric Tobella (``Dixmit <https://www.dixmit.com/>``\ \_\_)

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/14.0/account_in_payment>`_ 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_in_payment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions account_in_payment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2024 Dixmit
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Account In Payment",
"summary": """
This module enables in-payment mode for your accounting""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Dixmit,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-reconcile",
"depends": ["account"],
"data": [],
"demo": [],
}
34 changes: 34 additions & 0 deletions account_in_payment/i18n/account_in_payment.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_in_payment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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_in_payment
#: model:ir.model.fields,field_description:account_in_payment.field_account_move__display_name
msgid "Display Name"
msgstr ""

#. module: account_in_payment
#: model:ir.model.fields,field_description:account_in_payment.field_account_move__id
msgid "ID"
msgstr ""

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

#. module: account_in_payment
#: model:ir.model.fields,field_description:account_in_payment.field_account_move____last_update
msgid "Last Modified on"
msgstr ""
22 changes: 22 additions & 0 deletions account_in_payment/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_in_payment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-08-16 09:58+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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 5.6.2\n"

#. module: account_in_payment
#: model:ir.model,name:account_in_payment.model_account_move
msgid "Journal Entry"
msgstr "Registrazione contabile"
22 changes: 22 additions & 0 deletions account_in_payment/i18n/pt.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_in_payment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-08-24 23:28+0000\n"
"Last-Translator: Peter Romão <peterromao@yahoo.co.uk>\n"
"Language-Team: none\n"
"Language: pt\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 5.6.2\n"

#. module: account_in_payment
#: model:ir.model,name:account_in_payment.model_account_move
msgid "Journal Entry"
msgstr "Lançamento de Diário"
1 change: 1 addition & 0 deletions account_in_payment/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_move
22 changes: 22 additions & 0 deletions account_in_payment/models/account_move.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2024 Dixmit
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import api, models
from odoo.tools import config


class AccountMove(models.Model):

_inherit = "account.move"

@api.model
def _get_invoice_in_payment_state(self):
"""
We override this method to change the state of the invoice to in_payment
when the payment is created from the invoice.
"""
if config["test_enable"] and not self._context.get(
"test_get_invoice_in_payment_state"
):
return super()._get_invoice_in_payment_state()
return "in_payment"
1 change: 1 addition & 0 deletions account_in_payment/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Enric Tobella (`Dixmit <https://www.dixmit.com/>`__)
3 changes: 3 additions & 0 deletions account_in_payment/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module enables in-payment management for all your accounting.

Should not be installed with Enterprise Edition accounting.
Binary file added account_in_payment/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f19a48b

Please sign in to comment.