[Koha-bugs] [Bug 11549] After transferring an order, receive and cancel the receipt will delete the order
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 15 15:57:41 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11549
--- Comment #7 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 24403
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24403&action=edit
Bug 11549: FIX receive and cancel the receipt after a transfer.
To reproduce the issue:
- transfer an order from a basket to another. Note the previous
ordernumber (X) and the new one (Y).
- receive the order
- cancel the receipt
- verify the order has been deleted:
select count(*) from aqorders where ordernumber=Y;
select * from aqorders_transfers where ordernumber_from = X;
The value for ordernumber_to is null.
To test this patch:
- apply this patch
- transfer an order from a basket to another
- receive the order
- cancel the receipt
- verify the order still exist in the basket where the transfer has been
done.
Signed-off-by: Sonia BOUIS <sonia.bouis at univ-lyon3.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list