31 lines
1.0 KiB
ReStructuredText
31 lines
1.0 KiB
ReStructuredText
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``
|