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
@@ -18,6 +18,7 @@ The goal of this project is to enable vehicle tracking for customer vehicles wit
* **Asset Tracking:** Adds vehicles owned by customers to the system.
* **Issue Association:** Allows these vehicles to be attached directly to Redmine issues for better service tracking.
* **Invoices (with [redmine_qbo_billing](https://github.com/rickbarrette/redmine_qbo_billing)):** importing a work order's time or estimate fills the invoice's VIN box with its vehicle's VIN, and an invoice whose work orders are for more than one vehicle isn't saved (one vehicle per invoice).
## Installation