[Koha-bugs] [Bug 10869] Can't cancel order line if title deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 12 08:31:11 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10869

--- Comment #106 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #105)
> If the orderstatus is "new" or "ordered" things are probably easy and we
> could do with the check and note. For standing orders it already gets a bit
> more complicated, so we need to add "partial" as well. 

So, do not allow deletion of biblio record for new/ordered/partial.

> But we will also need to think about how to handle deleting records for
> aqorders with orderstatus "cancelled" or "received". But this might be out
> of scope here I realize.

Allow deletion. The biblionumber in aqorder will be set to NULL (by SQL
constraint).

> Also you can't really 'remove linked orders'. We can only cancel or delete a
> whole basket. If you have multiple order lines in a basket, there is no way
> to remove just one (odd, right?)

Yeah when I wrote remove, i meant cancel here. There is inconsistency in
allowing to remove whole baskets and not order lines. Not sure btw how to
remove a whole basket (only via basketgroup)? I think we should not allow that
(not cascade delete but set null).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list