Car Repair Shop Plugin (workshop.jar)¶
Deutsch: Kfz-Werkstatt-Plugin (DE) · Overview: Plugins (EN)
The Car Repair Shop plugin (workshop.jar) adds vehicle management, repair order/invoice integration, labor units (AW), tire storage, inspection reminders, and ready-to-use document templates to OpenYaBS. It adapts automatically to English and German via the core plugin i18n API (ExtensionContext.tr), keeping all automotive logic strictly outside OpenYaBS core.

Features¶
- Vehicle Management (1-to-many per contact): License plate, 17-character ISO 3779 VIN (without enforcing the North American 9th-digit checksum so EU VINs validate cleanly), make/model/variant, optional regional ID (e.g. German HSN/TSN), first registration, current mileage with per-reading unit (
km/mi), next mandatory inspection due (YYYY-MMfor DE HU/AU orYYYY-MM-DDfor UK MOT), tire size, Active/Archived status (sold/deregistered), and notes. - Tire Storage (§ 688 BGB): Season (Summer / Winter / All-Season), storage location, wheel-level tread depth (
FL/FR/RL/RRin mm), DOT codes, rim type (Alloy/Steel) including wheel bolts/nuts, storage date, and pre-existing damage/condition notes. - Quote / Order / Invoice Integration: Stores a point-in-time snapshot of
license_plateandmileageon the link record so historical documents stay immutable if a vehicle is later re-registered or sold. Tracks drop-off/pickup dates, customer complaint, customer-facing work summary (separate from internal technician notes), old parts handling, linked quote reference, and customer overrun approval (§ 649 Abs. 2 BGB). - Labor Units (AW) & Starter Service Catalog: Configurable AW per hour (e.g.
12 AW/h=5 min/AW, or0for direct hourly billing), hourly rates (mechanical, electrical/diagnostics, bodywork/paint), and a one-click starter service importer localized in the active language. - Overview Tab & Plausibility Checks: Dedicated overview tab for upcoming/overdue inspections and stored tire sets, plus optional non-blocking pre-save checks (missing vehicle/mileage, unit-aware mileage drop, invalid VIN, quote overrun without customer approval).
- Template Placeholders & Bundled
.fodtTemplates: Contributes[ws.*]placeholders and bundles 6 LibreOffice Flat ODT templates (workshop invoice, repair order, and tire storage receipt in EN & DE).
Installation¶
- Import
workshop.jarfromplugins/of the OpenYaBS distribution (oropenyabs-plugins-<version>.zip) via Settings › Plugins › Import plugin. - On startup, the plugin automatically creates its own cross-database tables (
workshop_schema_version,ws_vehicles,ws_tire_storage,ws_job_data).
Settings¶
Configured per database under Settings › Plugins › Car Repair Shop:
- Default distance unit:
kmormi(stored per reading). - Labor units (AW) per hour: e.g.
12(5 min/AW) or0for hourly billing. - Hourly rates: mechanical, electrical/diagnostics, bodywork/paint.
- Inspection reminder lead time (days): default
30. - Quote overrun warning threshold (%): default
15 %. - Check workshop orders and invoices before saving: non-blocking warning dialog (Save anyway?).
Commands & Workflow¶
Four commands are available under the Plugins menu:
- Workshop: Import starter service catalog – creates common workshop services (
WS-INSP,WS-OIL,WS-BRAKE,WS-TIRE-SWAP,WS-TIRE-STORE,WS-DIAG,WS-MOT-PREP) in the active language, skipping existing SKUs. - Workshop: Export document templates (.fodt) – exports all 6 bundled
.fodttemplates (invoice, repair order, tire storage receipt in EN & DE) into a selected folder. - Workshop: Inspections & Tire Storage – opens the overview tab listing upcoming inspections and stored tire sets.
- Workshop: Check current order / invoice – runs the plausibility check on the open document.
Contact views display a banner with Vehicles & Tires (including tire storage and vehicle service history); quote/order/invoice views display a banner with Vehicle & Job and Check.
Template Placeholders ([ws.*])¶
Internal technician notes are intentionally never exposed to templates.
| Placeholder | Value |
|---|---|
[ws.plate] |
License plate (document snapshot takes precedence) |
[ws.vin] |
VIN (ISO 3779) |
[ws.makeModel] |
Make / Model / Variant |
[ws.hsnTsn] |
HSN / TSN |
[ws.firstRegistration] |
First registration date |
[ws.mileage] / [ws.mileageUnit] |
Mileage (snapshot) & unit (km/mi) |
[ws.inspectionDue] |
Next inspection due date |
[ws.dropoffDate] / [ws.pickupDate] |
Drop-off / pickup dates |
[ws.complaint] |
Customer complaint |
[ws.workSummary] |
Customer-facing work summary |
[ws.oldParts] |
Old parts handling |
[ws.awDefinition] |
Labor unit definition (e.g. 12 AW/h (5 min/AW)) |
[ws.quoteNumber] / [ws.quoteTotal] |
Linked quote reference |
[ws.tireInfo] |
Stored tire/wheel set info (season, size, rim, DOT) |
[ws.tireStorageLocation] |
Storage location |
[ws.tireTreadDepth] |
Tread depth (FL / FR / RL / RR mm) |
[ws.tireCondition] |
Condition / pre-existing damage notes |