itsulu-blog-publisher/addons/itsulu_blog_publisher
Nicholas Riegel 2fd8d7fa3b fix: migrate email template to Odoo 17 syntax; fix BDD LLM mock JSON
PRODUCTION BUG: email template used pre-Odoo-14 Mako syntax (${} and
% for/% if), which Odoo 17 does not render — real notification emails
would show literal '${object.blog_post_id.name}' in the subject.
- subject/email_from: ${...} → {{ ... }} (inline_template engine)
- body_html: add type="qweb"; ${x} → <t t-out="x"/>;
  % for → <t t-foreach t-as>; % if → <t t-if>

BDD: when_llm_router_called mocked provider.generate() returning raw
HTML in .text, but LLMRouter._parse_response expects JSON and raised
UserError before ctx['mock_generate'] was set. Now returns valid JSON
with all required fields, and records the mock before generate() runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 02:57:10 -04:00
..
data fix: migrate email template to Odoo 17 syntax; fix BDD LLM mock JSON 2026-05-30 02:57:10 -04:00
features Complete BDD feature file organization and add comprehensive step definitions 2026-05-29 12:41:24 -04:00
models fix: resolve 18 test failures across BDD, email, and performance tests 2026-05-30 02:33:48 -04:00
security Reorganize codebase into Odoo addon structure per ARCHITECTURE.md 2026-05-29 12:11:42 -04:00
services Implement LLMRouter and provider infrastructure for GREEN phase tests 2026-05-29 12:27:58 -04:00
static/src/css docs: add Kubernetes test infrastructure documentation 2026-05-29 18:13:32 -04:00
tests fix: migrate email template to Odoo 17 syntax; fix BDD LLM mock JSON 2026-05-30 02:57:10 -04:00
views test: RED phase — first test passing for blog.topic model 2026-05-29 22:50:10 -04:00
wizards Implement wizard and complete UI views for Blog Publisher addon 2026-05-29 12:35:49 -04:00
__init__.py Implement wizard and complete UI views for Blog Publisher addon 2026-05-29 12:35:49 -04:00
__manifest__.py test: RED phase — first test passing for blog.topic model 2026-05-29 22:50:10 -04:00