Files
tryton/modules/sale_amendment
Cédric Krier 57e8b983b7 Use binary version of psycopg for tests
(grafted from 7868852522d26ff069aebcc03ae73d98abe97879)

--HG--
branch : 8.0
2026-07-17 22:11:32 +02:00
..
2025-12-15 18:00:12 +01:00
2023-02-28 13:08:32 +01:00
2026-06-18 21:35:16 +02:00
2026-04-20 20:10:13 +02:00
…
2024-04-06 10:48:45 +02:00
2026-06-18 21:35:26 +02:00

Sale Amendment Module
#####################

The sale amendment module allows you to change sales that are being processed
and keep track of the changes.
An amendment is composed of action lines which can:

* Recompute taxes (if the customer tax rules or product taxes have changed).

* Change the payment term

* Change parties and addresses

* Change the warehouse

* Change a sale line:

    * the product (for one with the same UoM category)

    * the quantity and unit of measure

    * the unit price

    * the description

When the amendment is validated the sale is updated and given a new revision.
Generated documents (like shipments and invoices) that are still in a draft
state are replaced with new ones based on the new values.