Bug 36731 - Delete cancelled order line that still refers to bibliographic record
Summary: Delete cancelled order line that still refers to bibliographic record
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 18360
Blocks:
  Show dependency treegraph
 
Reported: 2024-04-30 12:17 UTC by Marcel de Rooy
Modified: 2024-05-08 19:35 UTC (History)
3 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2024-04-30 12:17:36 UTC
See bug 18360 comment18 and further.

Should we just leave the biblio record if any?
Or warn about it, perhaps even checking the number of linked orders, and allow to delete it anyway?
Comment 1 Marcel de Rooy 2024-04-30 12:26:30 UTC
Probably we should allow it since we do so for REST API too. In that case this report is about extending the warning with more information.
Comment 2 Emily Lamancusa (emlam) 2024-05-03 15:18:25 UTC
Seems reasonable to me to allow deletion of the order line without deleting the biblio record. If someone added a mistaken order line and wants to delete it, it's certainly possible that the biblio record is attached to other orders that are being kept, or may have current items that aren't linked to an order at all.

A warn seems like a good balance between not being too restrictive and giving an opportunity to catch "ghost" records (especially if the warn can include information on whether the biblio record has any other linked orders or existing items).