Record added, changed and removed line items in the issue's history

Line item changes go into the journal of the issue update that made them, shown like
Redmine's own changes (e.g. "Line item Brake pads: 2 × $45.00 added"). They're only
visible to users who may view line items, in the history, emails, PDF, API and webhooks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-03 21:38:02 -05:00
1 parent a34c534bc1
commit 063da99904
6 files changed
+132

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ module RedmineQboLineItems
unless Issue.ancestors.include?(LineItems::Patches::IssuePatch)
# Patches
Issue.prepend LineItems::Patches::IssuePatch
Journal.prepend LineItems::Patches::JournalPatch
IssuesHelper.prepend LineItems::Patches::IssuesHelperPatch
# Hooks
LineItems::Hooks::ViewHookListener