Lesson 6 — The theme bridge: a re-skin that changes no number
The stake. This lesson is about a module that changes nothing you can add up, and that is precisely why it is worth thirty seconds of your attention. When a finance team sees a familiar report come back looking different, the first question is never about the design. It is whether the figures moved.
The mental model. odoone_l10n_ae_report_theme re-skins the UAE VAT 201 and Corporate Tax reports with the Odoone report theme so that they match the rest of the reporting suite. It is the UAE-specific half that was split out of Odoone Report Theme — Adapters (odoone_report_theme_adapters) so the generic adapters no longer depend on the UAE tax pack. You normally never install it by hand: auto_install is enabled, so it installs itself the moment both the adapters and Odoone UAE VAT & Corporate Tax Reports (odoone_uae_tax_reports) are present. On a non-UAE deployment it simply never installs, which is the whole point of the split.
It does two things, both non-invasive. The two report PDFs adopt the theme role classes (o_odoone_report, o_report_role_title) through class-only view inheritance, with no data-logic change, and they adopt the suite A4 paperformat odoone_report_theme.paperformat_odoone_a4, so a VAT 201 sits on the same page as every other Odoone report. Their interactive backend screens carry the brand accent — a purple header underline and brand-coloured KPI values — through a backend stylesheet that the theme used for the PDF bundle cannot reach.
Where to look. Open Accounting → Reporting → UAE VAT Report, or UAE Corporate Tax Report, and print or export the PDF as you always have. The PDF now wears the suite theme classes and prints on the suite A4 paperformat, and inside the interactive screens the header underline and the KPI values pick up the Odoone brand accent. No action is required from you for any of it.
The worked example is a negative result, and it is the strongest claim in this course. The re-skin is classes only: it adds no data expression, replaces nothing and moves no field. It therefore changes no VAT 201 or Corporate Tax number, and a regression test enforces that rather than a promise in a release note. Print the same VAT 201 before and after the bridge appears and every box holds the same figure. Only the page around them changed.
The failure mode. The VAT 201 PDF looks unthemed. Confirm that both odoone_report_theme_adapters and odoone_uae_tax_reports are installed, so that the bridge auto-installed as designed, and look in Apps for Odoone Localization AE — Report Theme Bridge. There is nothing to configure inside the bridge itself: its look follows the shared style roles of the Odoone report theme, so adjusting those, or a per-company override, changes the UAE report headers, titles and tables along with everything else in the suite.
The idea to carry forward: a re-skin that can be proved to change no number is a re-skin your auditor can live with, and that proof is a test rather than an assurance.