Metadata-Version: 2.1
Name: trytond-sale-advance-payment
Version: 6.0.2
Summary: Tryton module for sale advance payment
Home-page: http://www.tryton.org/
Download-URL: http://downloads.tryton.org/6.0/
Author: Tryton
Author-email: bugs@tryton.org
License: GPL-3
Project-URL: Bug Tracker, https://bugs.tryton.org/
Project-URL: Documentation, https://docs.tryton.org/
Project-URL: Forum, https://www.tryton.org/forum
Project-URL: Source Code, https://hg.tryton.org/modules/sale_advance_payment
Keywords: tryton sale advance payment
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Legal Industry
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: Bulgarian
Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
Classifier: Natural Language :: Finnish
Classifier: Natural Language :: French
Classifier: Natural Language :: German
Classifier: Natural Language :: Hungarian
Classifier: Natural Language :: Indonesian
Classifier: Natural Language :: Italian
Classifier: Natural Language :: Persian
Classifier: Natural Language :: Polish
Classifier: Natural Language :: Portuguese (Brazilian)
Classifier: Natural Language :: Romanian
Classifier: Natural Language :: Russian
Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Natural Language :: Turkish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.6
License-File: LICENSE

Sale Advance Payment Module
###########################

The sale_advance_payment module adds support for advance payment management on
the sale.

The module adds a new document: the Advance Payment Term that defines how the
shipment or the supply processes should be managed. Either process can be
completely delayed until the advance payments are paid.

Two new fields are added to *Sale*:

- *Advance Payment Term*
- *Advance Payment Conditions*

The conditions are computed at the quotation of the sale if a payment term is
set.

When the sale is processed the advance payment invoices are created, final
invoices will be generated when this advance payment invoices are paid. Those
invoices will take into the account the amount previously paid by the customer.

.. warning::
    If an advance payment invoice is cancelled and not recreated when
    processing the exception. The condition of the cancelled invoice will be
    concidered as met.
..

Advance Payment Term
********************

It defines how advance payment invoices should be created and what they block
until they are paid.

- Name: The name of the term.
- Lines:

  - Description: The description used for the invoice line.
  - Account: The account used for the invoice line. If it has default taxes,
    the taxes will be applied.
  - Block Supply: If checked, it prevents the creation of any supply request
    before the payment of the advance payment invoice.
  - Block Shipping: If checked, the shipments can not be packed before the
    payment of the advance payment invoice.
  - Invoice Delay: The delay to apply on the sale date for the date of the
    advance payment invoice.
  - Formula: It computes the amount of the invoice line.
