Skip to content

Commit

Permalink
[ADD] account_payment_manual_eligibility
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-dacosta committed Jan 23, 2025
1 parent 8f5b31a commit a7659d8
Show file tree
Hide file tree
Showing 14 changed files with 567 additions and 0 deletions.
60 changes: 60 additions & 0 deletions account_payment_manual_eligibility/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
==================================
Account Payment Manual eligibility
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5f4673cecf313955af242b004c44246002b189bb01388c65a2a5133c542aab06
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-akretion%2Fak--odoo--incubator-lightgray.png?logo=github
:target: https://github.com/akretion/ak-odoo-incubator/tree/14.0/account_payment_manual_eligibility
:alt: akretion/ak-odoo-incubator

|badge1| |badge2| |badge3|

This module allows to filter the journal that are displayed in the register payment wizard on invoices

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/akretion/ak-odoo-incubator/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/akretion/ak-odoo-incubator/issues/new?body=module:%20account_payment_manual_eligibility%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
~~~~~~~

* Akretion

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

* Florian da Costa <[email protected]>

Maintainers
~~~~~~~~~~~

This module is part of the `akretion/ak-odoo-incubator <https://github.com/akretion/ak-odoo-incubator/tree/14.0/account_payment_manual_eligibility>`_ project on GitHub.

You are welcome to contribute.
2 changes: 2 additions & 0 deletions account_payment_manual_eligibility/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
15 changes: 15 additions & 0 deletions account_payment_manual_eligibility/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Account Payment Manual eligibility",
"version": "14.0.1.0.0",
"author": "Akretion, Odoo Community Association (OCA)",
"category": "Tools",
"depends": ["account"],
"website": "https://github.com/akretion/ak-odoo-incubator",
"data": [
"views/account_journal.xml",
"wizards/account_payment_register_views.xml",
],
"maintainer": "florian-dacosta",
"license": "AGPL-3",
"installable": True,
}
1 change: 1 addition & 0 deletions account_payment_manual_eligibility/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_journal
11 changes: 11 additions & 0 deletions account_payment_manual_eligibility/models/account_journal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (C) 2015 Akretion (http://www.akretion.com).

from odoo import fields, models


class AccountJournal(models.Model):
_inherit = "account.journal"

available_for_manual_payment = fields.Boolean(
help="If active, the journal will be available to register a payment manually"
)
1 change: 1 addition & 0 deletions account_payment_manual_eligibility/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Florian da Costa <[email protected]>
1 change: 1 addition & 0 deletions account_payment_manual_eligibility/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module allows to filter the journal that are displayed in the register payment wizard on invoices
Loading

0 comments on commit a7659d8

Please sign in to comment.