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][MIG] account_banking_ach_discount #98

Open
wants to merge 14 commits 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
130 changes: 130 additions & 0 deletions account_banking_ach_discount/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
==============================
Discount on ACH batch payments
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fl10n--usa-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-usa/tree/14.0/account_banking_ach_discount
:alt: OCA/l10n-usa
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-usa-14-0/l10n-usa-14-0-account_banking_ach_discount
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/203/14.0
:alt: Try me on Runbot

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

This module will add support for discount in ACH and batch ACH workflow.

**Table of contents**

.. contents::
:local:

Configuration
=============

Payment Terms
~~~~~~~~~~~~~

* Go to *Accounting > Configuration > Payment Terms*
* Create or select a payment term
* Activate the discounts options
* On a line, set the discount percentage and number of days

Payment Modes
~~~~~~~~~~~~~

* Go to *Accounting > Configuration > Payment Modes*
* Create or select a payment mode
* Link it to an ACH payment method

Vendors
~~~~~~~

* Go *Contacts* or *Accounting > Vendors > Vendors*
* Create or select a vendor
* On the Sales and Purchase tab, set the supplier payment mode
* On the Accounting tab, set their bank information (account number, bank, routing number)

Usage
=====

* Go to *Accounting > Customers > Invoices* or *Accounting > Vendors > Bills*
* Select or create various records in the state posted with ACH and discounts
* In the Action menu, click on Batch Payments
* Review the payment information provided by default
* Click on Make Payments
* Review the payment order, confirm it and generate the ACH file
* Go to your bank's website to upload the file
* Come back to Odoo and confirm the upload to the bank was successful

Changelog
=========

12.0.1.0.0
~~~~~~~~~~

- ACH Payment, Automatic Discount and Batch Payment Partial Pay Integration

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-usa/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-usa/issues/new?body=module:%20account_banking_ach_discount%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
~~~~~~~

* Open Source Integrators

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

* Open Source Integrators <https://www.opensourceintegrators.com>

* Bhavesh Odedra <[email protected]>
* Maxime Chambreuil <[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.

.. |maintainer-bodedra| image:: https://github.com/bodedra.png?size=40px
:target: https://github.com/bodedra
:alt: bodedra

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-bodedra|

This module is part of the `OCA/l10n-usa <https://github.com/OCA/l10n-usa/tree/14.0/account_banking_ach_discount>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions account_banking_ach_discount/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2019 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
24 changes: 24 additions & 0 deletions account_banking_ach_discount/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (C) 2019 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Discount on ACH batch payments",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"category": "Accounting",
"maintainer": "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-usa",
"development_status": "Beta",
"maintainers": ["bodedra"],
"depends": [
"account_payment_term_discount",
"account_payment_batch_process",
"account_payment_order",
"account_banking_ach_credit_transfer",
"account_banking_ach_direct_debit",
],
"data": [
"views/account_payment_view.xml",
],
}
148 changes: 148 additions & 0 deletions account_banking_ach_discount/i18n/account_banking_ach_discount.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_banking_ach_discount
#
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_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__writeoff_account_id
msgid "Account"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__payment_difference_handling
msgid "Action"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model,name:account_banking_ach_discount.model_bank_payment_line
msgid "Bank Payment Lines"
msgstr ""

#. module: account_banking_ach_discount
#: model_terms:ir.ui.view,arch_db:account_banking_ach_discount.account_payment_line_discount_amount_form
#: model_terms:ir.ui.view,arch_db:account_banking_ach_discount.account_payment_line_discount_amount_tree
msgid "Discount Account"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__discount_amount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_bank_payment_line__discount_amount
msgid "Discount Amount"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_move__display_name
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment__display_name
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__display_name
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_order__display_name
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_register__display_name
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_bank_payment_line__display_name
msgid "Display Name"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_move__id
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_move_line__id
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment__id
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__id
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_order__id
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_register__id
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_bank_payment_line__id
msgid "ID"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model,name:account_banking_ach_discount.model_account_move
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__move_id
msgid "Journal Entry"
msgstr ""

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

#. module: account_banking_ach_discount
#: model:ir.model.fields.selection,name:account_banking_ach_discount.selection__account_payment_line__payment_difference_handling__open
msgid "Keep open"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_move____last_update
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment____last_update
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line____last_update
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_order____last_update
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_register____last_update
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_bank_payment_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields.selection,name:account_banking_ach_discount.selection__account_payment_line__payment_difference_handling__reconcile
msgid "Mark invoice as fully paid"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__note
msgid "Note"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__payment_difference
msgid "Payment Difference"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model,name:account_banking_ach_discount.model_account_payment_line
msgid "Payment Lines"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model,name:account_banking_ach_discount.model_account_payment_order
msgid "Payment Order"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model,name:account_banking_ach_discount.model_account_payment
msgid "Payments"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__reason_code
msgid "Reason Code"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model,name:account_banking_ach_discount.model_account_payment_register
msgid "Register Payment"
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,help:account_banking_ach_discount.field_account_payment_line__move_id
msgid "The move of this entry line."
msgstr ""

#. module: account_banking_ach_discount
#: code:addons/account_banking_ach_discount/models/account_payment.py:0
#, python-format
msgid ""
"This method should only be called to process a single invoice's payment."
msgstr ""

#. module: account_banking_ach_discount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_account_payment_line__total_amount
#: model:ir.model.fields,field_description:account_banking_ach_discount.field_bank_payment_line__total_amount
msgid "Total Amount"
msgstr ""
7 changes: 7 additions & 0 deletions account_banking_ach_discount/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2019 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import account_payment
from . import account_move_line
from . import bank_payment_line
from . import account_payment_order
from . import account_move
Loading