How anesdevv/claim-photo-vault-odoo14 works
Claim Photo Vault is an Odoo module for managing motor-insurance claim photos locally. The main workflow is to register a vehicle and claim, import categorized photos through a wizard, validate and store originals plus thumbnails, then view or export them. Supporting capabilities include claim-completeness enforcement, fuzzy search, photo auditing, summaries, and disk-integrity checks. The excerpts show the key model and wizard calls; the README documents database triggers, views, and security features whose implementation details were not sampled.
Main entry points: claim_photo.py Photo records · insurance_claim.py Insurance claims · init_db.sql Database setup · claim_views.xml Claim screens
Components 16
Claims and Vehicles
- Claim screens
custom_addons/claim_photo_vault/views/claim_views.xml - Insured vehicles
custom_addons/claim_photo_vault/models/insurance_vehicle.py - Insurance claims
custom_addons/claim_photo_vault/models/insurance_claim.py
Photo Management
- Photo gallery
custom_addons/claim_photo_vault/views/photo_views.xml - Photo categories
custom_addons/claim_photo_vault/models/claim_photo_category.py - Damage tags
custom_addons/claim_photo_vault/models/claim_photo_tag.py - Photo import
custom_addons/claim_photo_vault/wizards/photo_import_wizard.py - Photo records
custom_addons/claim_photo_vault/models/claim_photo.py
Storage and Tools
- Image delivery
custom_addons/claim_photo_vault/controllers/main.py - Local image files
- Integrity and ZIP
custom_addons/claim_photo_vault/wizards/integrity_check_wizard.py
Database Integrity
- Photo audit trail
custom_addons/claim_photo_vault/models/claim_photo_audit.py - Photo summaries
custom_addons/claim_photo_vault/models/claim_photo_summary.py - Database setup
custom_addons/claim_photo_vault/sql/init_db.sql - Install initialization
custom_addons/claim_photo_vault/hooks.py
Other components
- Odoo user
Connections 21
- Odoo user → Claim screens: uses
README.md - Claim screens → Insured vehicles: manages
README.md - Claim screens → Insurance claims: manages
README.md - Insurance claims → Insured vehicles: references
custom_addons/claim_photo_vault/models/insurance_claim.py - Insurance claims → Photo import: opens
custom_addons/claim_photo_vault/models/insurance_claim.py - Insurance claims → Photo gallery: opens
custom_addons/claim_photo_vault/models/insurance_claim.py - Photo import → Photo records: creates photos
custom_addons/claim_photo_vault/wizards/photo_import_wizard.py - Photo records → Insurance claims: links claim
custom_addons/claim_photo_vault/models/claim_photo.py - Photo records → Photo categories: assigns category
custom_addons/claim_photo_vault/models/claim_photo.py - Photo records → Damage tags: assigns tags
custom_addons/claim_photo_vault/models/claim_photo.py - Photo records → Local image files: writes images
custom_addons/claim_photo_vault/models/claim_photo.py - Image delivery → Photo records: checks access
custom_addons/claim_photo_vault/controllers/main.py - Image delivery → Local image files: reads images
custom_addons/claim_photo_vault/controllers/main.py - Integrity and ZIP → Photo records: searches photos
custom_addons/claim_photo_vault/wizards/integrity_check_wizard.py - Integrity and ZIP → Local image files: checks and reads
custom_addons/claim_photo_vault/wizards/integrity_check_wizard.py - Insurance claims → Photo summaries: exposes summaries
custom_addons/claim_photo_vault/models/insurance_claim.py - Database setup → Photo audit trail: installs triggers
README.md - Database setup → Photo summaries: defines view
README.md - Install initialization → Database setup: executes SQL
custom_addons/claim_photo_vault/hooks.py - Insurance claims → Database setup: enforces completeness
README.md - Photo records → Database setup: uses constraints
README.md