Skip to content
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
126 changes: 126 additions & 0 deletions account_payment_multi_deduction/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
========================================
Payment Register with Multiple Deduction
========================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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--payment-lightgray.png?logo=github
:target: https://github.com/OCA/account-payment/tree/18.0/account_payment_multi_deduction
:alt: OCA/account-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-payment-18-0/account-payment-18-0-account_payment_multi_deduction
: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-payment&target_branch=18.0
:alt: Try me on Runboat

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

This module extend invoice(s)'s register payment feature, from "Mark
invoice as fully paid" with a single writeoff amount, to "Mark invoice
as fully paid (multi deduct)" which allow multiple deduction amounts.

**Note:** We use the word "Deduction", as the diff amount can be
anything not only to writeoff.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Usage
=====

- Select 1 invoice, either on form view or tree view
- Click to Register Payment, a payment wizard will open
- Reduce the amount to pay and payment difference amount will appear
- Choose "Mark invoice as fully paid (multi deduct)", and a new
deduction table will appear
- Add deduction amount, make sure total deduction amount is equal to the
payment difference
- Click validate to finish the payment

Note: this feature only works for 1 invoice payment

Changelog
=========

13.0.1.0.0 (2020-01-27)
-----------------------

- Migration to version 13
- Following how Odoo 13 works with deduction, the multiple deduction
feature only works for one invoice at a time.

12.0.1.0.0 (2019-05-05)
-----------------------

- Start of the history

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

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

* Ecosoft

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

- Kitti Upariphutthiphong. <kittiu@gmail.com> (http://ecosoft.co.th)
- Saran Lim. <saranl@ecosoft.co.th>
- Randall Castro. <randall@vauxoo.com>
- Jesús Valdez. <jvaldez@vauxoo.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.

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

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

|maintainer-kittiu|

This module is part of the `OCA/account-payment <https://github.com/OCA/account-payment/tree/18.0/account_payment_multi_deduction>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_payment_multi_deduction/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
from . import models
from . import wizard
19 changes: 19 additions & 0 deletions account_payment_multi_deduction/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2019 Ecosoft Co., Ltd (http://ecosoft.co.th/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)

{
"name": "Payment Register with Multiple Deduction",
"version": "18.0.1.0.0",
"author": "Ecosoft, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/account-payment",
"category": "Accounting",
"depends": ["account"],
"data": [
"security/ir.model.access.csv",
"wizard/account_payment_register_views.xml",
],
"installable": True,
"development_status": "Alpha",
"maintainers": ["kittiu"],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_multi_deduction
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-01-19 20:11+0000\n"
"PO-Revision-Date: 2026-01-19 20:11+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_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__account_id
msgid "Account"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__analytic_distribution
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__analytic_distribution
msgid "Analytic Distribution"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__analytic_precision
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__analytic_precision
msgid "Analytic Precision"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__company_id
msgid "Company"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__create_uid
msgid "Created by"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__create_date
msgid "Created on"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__currency_id
msgid "Currency"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__deduct_analytic_distribution
msgid "Deduct Analytic Distribution"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__amount
msgid "Deduction Amount"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__deduction_ids
msgid "Deductions"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__display_name
msgid "Display Name"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__distribution_analytic_account_ids
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__distribution_analytic_account_ids
msgid "Distribution Analytic Account"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__id
msgid "ID"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment__is_multi_deduction
msgid "Is Multi Deduction"
msgstr ""

#. module: account_payment_multi_deduction
#. odoo-python
#: code:addons/account_payment_multi_deduction/wizard/account_payment_deduction.py:0
msgid "Keep open"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,help:account_payment_multi_deduction.field_account_payment_deduction__is_open
msgid "Keep this line open"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__name
msgid "Label"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__write_date
msgid "Last Updated on"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields.selection,name:account_payment_multi_deduction.selection__account_payment_register__payment_difference_handling__reconcile_multi_deduct
msgid "Mark invoice as fully paid (multi deduct)"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__is_open
msgid "Open"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model,name:account_payment_multi_deduction.model_account_payment_register
msgid "Pay"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_deduction__payment_id
msgid "Payment"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model,name:account_payment_multi_deduction.model_account_payment_deduction
msgid "Payment Deduction"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__payment_difference_handling
msgid "Payment Difference Handling"
msgstr ""

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

#. module: account_payment_multi_deduction
#: model:ir.model.fields,field_description:account_payment_multi_deduction.field_account_payment_register__deduct_residual
msgid "Remainings"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,help:account_payment_multi_deduction.field_account_payment_register__deduction_ids
msgid "Sum of deduction amount(s) must equal to the payment difference"
msgstr ""

#. module: account_payment_multi_deduction
#: model:ir.model.fields,help:account_payment_multi_deduction.field_account_payment_deduction__currency_id
msgid "The payment's currency."
msgstr ""

#. module: account_payment_multi_deduction
#. odoo-python
#: code:addons/account_payment_multi_deduction/wizard/account_payment_register.py:0
msgid "The total deduction should be %s"
msgstr ""

#. module: account_payment_multi_deduction
#: model_terms:ir.ui.view,arch_db:account_payment_multi_deduction.view_account_payment_register_form
msgid "Total Deduction"
msgstr ""
Loading