Metadata-Version: 2.4
Name: unpaismejor_account_credit_note
Version: 7.0.1
Summary: Partial credit notes for Tryton invoices
Home-page: https://code.unpaismejor.org.do/tryton-do/account_credit_note
Author: Solutema SRL, Fundación Un País Mejor
Maintainer: Fundación Un País Mejor
License: GPL-3.0-or-later
Keywords: tryton accounting invoice credit-note
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Classifier: Topic :: Office/Business :: Financial :: Accounting
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: trytond<7.1,>=7.0
Requires-Dist: trytond_account_invoice<7.1,>=7.0
Provides-Extra: test
Requires-Dist: proteus<7.1,>=7.0; extra == "test"
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

Account Credit Note Module
##########################

The account_credit_note module extends Tryton's account_invoice credit wizard
with partial credit notes by percentage or by amount.

The module keeps the core credit workflow for full credit notes and only adjusts
generated invoice lines when a partial credit is requested. Taxes are recomputed
from the adjusted lines using Tryton's invoice logic.

The package is maintained by Fundación Un País Mejor. Full credit notes and
refunds are delegated unchanged to Tryton's ``account_invoice`` module. A fixed
partial amount may only be applied to one source invoice at a time.

Installing
**********

Install the package and activate the module in the database::

    pip install unpaismejor_account_credit_note
    trytond-admin -d <database> -u account_credit_note

Publishing
**********

The included Gitea Actions workflow builds the package and publishes it to the
Gitea PyPI registry on every pushed branch. Configure these repository secrets:

* ``REGISTRY_USER``
* ``REGISTRY_PASSWORD``
