Commit Graph

3 Commits

Author SHA1 Message Date
Marc
e0d8bc81d3 PDF reports + View inheritance + Pivot/Graph views
PDF Reports:
- /report/pdf/ endpoint with graceful degradation chain:
  wkhtmltopdf → headless Chrome/Chromium → HTML with window.print()
- Print-friendly CSS (@page A4, margins, page-break rules)
- ir.actions.report dispatch for client Print button

View Inheritance:
- loadViewArch now loads base + inheriting views (inherit_id)
- applyViewInheritance with XPath support:
  //field[@name='X'] and <field name="X" position="...">
- Positions: after, before, replace, inside
- XML parser for inherit directives using encoding/xml

New View Types:
- Pivot view auto-generation (numeric fields as measures)
- Graph view auto-generation (M2O/Selection + numeric measure)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 13:52:30 +02:00
Marc
912abc4b97 Update TODO.md: mark SQL constraints, translations, ref, URLs as done
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 13:20:03 +02:00
Marc
9ad633fc3c Add comprehensive TODO.md with 1:1 Python Odoo comparison
Honest gap analysis: 19.925 Go LOC vs 92.733 Python LOC (core).
Business addons at 3-9% code depth vs Python.
Prioritized roadmap for reaching feature parity.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 22:10:29 +02:00