[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 13:11:22 CET 2024


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

--- Comment #109 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Marcel,

I'll reply here:

(In reply to Marcel de Rooy from comment #106)
> Allow deletion. The biblionumber in aqorder will be set to NULL (by SQL
> constraint).

And deleted_biblionumber will be set to the biblionumber, so we don't lose the
connection :)

> > 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).

It's not about basket groups. As you noted, a basket group would block
deleting. 

If you have an open basket, not linked to a basket group, there is a button in
the toolbar:
"Delete basket". 
It gives a choice to delete only the basket and order lines or to delete them +
bibliographic records.

What did you mean with "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