Bug 17667: Do not modify quantity of the original standing order when a receipt is...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Dec 2019 17:10:15 +0000 (18:10 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 20 Jan 2020 14:03:50 +0000 (14:03 +0000)
commita155575f9df8b61cfc6efaa013e08fa647627acd
tree3ecb0bce68616023c3ed7d68d602a765acc7da49
parenta734156013b776e419c16dc72522ab3a913b241f
Bug 17667: Do not modify quantity of the original standing order when a receipt is cancelled

When cancelling a receipt, the quantity of the original order is
increased.

Test plan:
Create a basket, mark is as "standing orders"
Create an order
receive it
cancel the receipt
=> Without this patch the quantity of the original order is 2
=> With this patch applied the quantity it always 1

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Acquisition.pm