Name:
[19.0][UPG] viin_brand_*: upgrade to 19
State:
Failed
finished in 19m
PR State:
open
PR Author:
Trần Trường Sơn
PR Author Email:
PR:
#633
Committer:
SonCrits
Committer Email:
truongson290893@gmail.com
Commit:
025d901fb3ccf4f5e90c882c069bf0ceaeda127c
Description:
[IMP] viin_brand_*: debrand Odoo in mail.template email content
Restore email template debranding that was dropped since 17.0.
mail.template body_html (type="html", stored as jsonb) cannot be
xpath'd like QWeb <template> views, so two mechanisms are used:
- _register_hook: raw SQL REPLACE on jsonb::text after all modules
loaded, fixing stored body_html for the backend form view
- _render_field override: runtime string replacement when rendering
emails, as a safety net for Reset Template or new templates
Also add QWeb xpath override for website_slides channel invite
template (which IS a <template> view, not a mail.template record).
Simplify mail_template_terms in apriori.py: replace fragile
Markup-based exact HTML matching with generic plain string patterns.
Branch:
19.0
Instance ID:
0
Age:
Up-time: