Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documents: allow deletion if attached order lines are cancelled or recieved #3225

Open
PascalRepond opened this issue Jan 26, 2023 · 0 comments · May be fixed by #3818
Open

documents: allow deletion if attached order lines are cancelled or recieved #3225

PascalRepond opened this issue Jan 26, 2023 · 0 comments · May be fixed by #3818
Assignees
Labels
correction An implemented feature doesn't work as expected.

Comments

@PascalRepond
Copy link
Contributor

As a librarian, I want to be able to delete documents even if order lines are still attached.

Acceptance criteria

  • I can delete a document if all can_delete criteria are met and if all attached order_lines have statuts recieved or cancelled.
  • When displaying orders and order lines in the pro view, prevent errors if the UI needs info from the document. If the linked document doesn't exist, replace document title by [pid:XXXX]:
    • Orders brief and detailed views:
    • Order line (edit + recieve views)
@PascalRepond PascalRepond added the correction An implemented feature doesn't work as expected. label Jan 26, 2023
@PascalRepond PascalRepond moved this to New/needs refine in RERO ILS issues Mar 30, 2023
@github-actions github-actions bot added the stale Stale or no longer relevant label Aug 6, 2023
@PascalRepond PascalRepond removed the stale Stale or no longer relevant label Aug 7, 2023
@github-actions github-actions bot added the stale Stale or no longer relevant label Feb 4, 2024
@rerowep rerowep self-assigned this Jan 27, 2025
@rerowep rerowep moved this from Inbox to In Development in RERO ILS issues Jan 27, 2025
rerowep added a commit to rerowep/rero-ils that referenced this issue Jan 29, 2025
* Closes rero#3225.
* Allows deletion of documents with acquisition order lines with status
  recieved or cancelled.

Co-Authored-by: Peter Weber <[email protected]>
@rerowep rerowep linked a pull request Jan 29, 2025 that will close this issue
@PascalRepond PascalRepond removed needs info stale Stale or no longer relevant labels Feb 6, 2025
@rero rero deleted a comment from github-actions bot Feb 6, 2025
@rero rero deleted a comment from github-actions bot Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correction An implemented feature doesn't work as expected.
Projects
Status: In Development
Development

Successfully merging a pull request may close this issue.

2 participants