- Add tests/conftest.py with odoo_env fixture so pytest-bdd can access
the pytest-odoo env fixture (fixes all 14 BDD scenario failures)
- Fix send_notification_email() to use force_send=False so mail.mail
records remain in queue for test assertions; pass res_id/model so
tests can look up records by (res_id, model) pair
- Fix test_generation_latency_under_30_seconds: replace raw SQL INSERT
into ir_logging.body (column removed in Odoo 17) with _logger.info()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Restructure project files to follow the addon layout:
- Move models to addons/itsulu_blog_publisher/models/
- Move services (LLM providers, routers) to addons/itsulu_blog_publisher/services/
- Move wizards to addons/itsulu_blog_publisher/wizards/
- Move views (XML templates) to addons/itsulu_blog_publisher/views/
- Move data (cron, mail templates) to addons/itsulu_blog_publisher/data/
- Move security (ACL) to addons/itsulu_blog_publisher/security/
- Move tests and factories to addons/itsulu_blog_publisher/tests/
- Move BDD features to addons/itsulu_blog_publisher/features/
- Create __init__.py files for all Python packages
This enables proper Odoo module discovery and import structure.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>