[Bug 10984] New: Cannot cancel received order if the parent order is deleted
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 Bug ID: 10984 Summary: Cannot cancel received order if the parent order is deleted Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@biblibre.com QA Contact: testopia@bugs.koha-community.org To reproduce: - create an order with 2 items - close the basket - receive 1 item - delete the order (with the remaining item) - cancel the receipt - nothing append - cancel the receipt again - an error occurred: "Cannot cancel receipt. Possible reasons : ..." -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |jonathan.druart@biblibre.co |ity.org |m Severity|enhancement |normal -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Jonathan Druart <jonathan.druart@biblibre.com> --- Katrin, I don't know how to fix this issue. I see 2 ways: 1/ Don't allow to delete order with children (but there will be no way to remove remaining items to receive) 2/ When an order is deleted and there are already received children, the parent_ordernumber for children become the ordernumber from the first order received (and we lost the link to the original order parent). Example: - O1 is pending with 3 items. - receive 1 item: O2 is created (1 item received) and the parent_ordernumber is O1. - receive 1 item: O3 is created (1 item received) and the parent_ordernumber is O1. - now we have 01 (1 item to receive), O2 (1 item received) linked to O1, O3 (1 item received). - cancel O1: O2 become the parent for O2 and O3 (we don't have the link to O1 anymore). Restriction: we cannot cancel the receipt for O3 (we should cancel the receipt for O2 before). Do you see a third way? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jonathan, Hm, I am not sure I have advice on this without replicating it - but i can't do that before tonight. :( -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=5336 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10984 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|jonathan.druart@bugs.koha-c |koha-bugs@lists.koha-commun |ommunity.org |ity.org -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org