Files
tryton/modules/purchase_amendment
Cédric Krier 15c20fce89 Do not clear incoming moves that has been added to a shipment for amendment
Closes #15070
(grafted from fb713c8a996ea659217e194c87246f1067c7fb99)

--HG--
branch : 7.0
2026-09-07 15:24:40 +02:00
..
2024-02-18 18:35:54 +01:00
2023-04-29 10:07:40 +02:00
2023-02-28 13:08:32 +01:00
…
2023-02-28 13:20:14 +01:00
2023-10-22 19:40:55 +02:00
2026-06-18 21:40:50 +02:00

Purchase Amendment Module
#########################

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

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

* Change the payment term

* Change the party and the address

* Change the warehouse

* Change a purchase 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 purchase is updated and given a new
revision. Generated documents (like moves and invoices) that are still in a
draft state are replaced with new ones based on the new values.