]> git.koha-community.org Git - koha.git/commit
Bug 16934 - Cannot add notes to canceled and deleted order line
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 18 Jul 2016 11:02:14 +0000 (11:02 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 11:46:32 +0000 (13:46 +0200)
commitddab9d255614db180c41ba45f6c6d32d9055f056
tree64e6dc2f8dc495b949f8ee2ca9d4c0815c75fd2a
parent86df8681c5a36feb5aed99178a5d4d5ed308e277
Bug 16934 - Cannot add notes to canceled and deleted order line

Some librarians would like to be able to add notes to deleted order
lines to keep track of data such as what title the order line was for.
For some reason ModOrder dies if a biblionumber is passed in, even
though it does not use biblionumber and does not need it to exist in any
fashion! This limitation should be removed.

Test Plan:
1) Create a basket with an orderline
2) Cancel the order / delete the record
3) Click the "Add internal note" link for that order line
4) Fill in a note and click "Save"
5) Note the error
6) Apply this patch
7) Repeat steps 3-4
8) Note this time the note is saved!

Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 7cc6f6eb45333e1f2041e53dcfdc31532880bd9f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 43f7f6b0bddc3423220c7522569bce4f6f6d94fc)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Acquisition.pm