Invoices: VIN from work orders, one vehicle per invoice

Listens for redmine_qbo_billing's hooks: qbo_billing_issue_values gives each
work order's VIN, so the invoice's VIN box fills in when its time or
estimates are imported; qbo_billing_validate stops an invoice whose work
orders are for more than one vehicle (one vehicle per invoice).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
Claude committed 2026-10-30 22:30:27 -04:00
1 parent 9583bf52a8
commit 2310b4b30a
4 files changed
+46

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ module RedmineQboVehicles
Vehicles::Hooks::PdfHookListener
Vehicles::Hooks::ViewHookListener
Vehicles::Hooks::CustomerAppointmentShowHookListener
Vehicles::Hooks::BillingHookListener
# If the SubtaskFieldCopier plugin is installed, register our fields
if defined?(SubtaskFieldCopier)