Skip to content

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

Open
@PascalRepond

Description

@PascalRepond

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)

Metadata

Metadata

Assignees

Labels

correctionAn implemented feature doesn't work as expected.

Type

No type

Projects

Status

In Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions