Create wizard package and complete view layer: Wizard implementation: - Create wizards/__init__.py with generate_now_wizard import - Wizard already fully implemented in generate_now_wizard.py - Update main addon __init__.py to import wizards Menu structure: - Create menu_views.xml with main menu and submenu structure - Organize menus: Generation, Configuration, Output, Settings View files (split from consolidated views): - Create blog_schedule_views.xml (schedule slot tree/form/action) - Create blog_generation_log_views.xml (log tree/form/action with retry) - Create blog_post_social_views.xml (social copy tree/form/action) - Create generate_now_wizard_views.xml (wizard form/action) - Update blog_topic_views.xml to contain only topic views Features included: - Schedule slot management with LLM provider/model selection - Social media platform toggles per schedule - Generation log viewer with retry capability - Wizard for on-demand blog generation - Complete navigation menu structure - Dark mode and responsive design support All views ready for Odoo 14+ deployment. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
51 lines
2.4 KiB
XML
51 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- ================================================================
|
|
MAIN MENU — Blog Publisher
|
|
================================================================ -->
|
|
|
|
<menuitem id="menu_blog_publisher" name="Blog Publisher" sequence="80"
|
|
groups="base.group_user" web_icon="itsulu_blog_publisher,static/description/icon.png"/>
|
|
|
|
<!-- ================================================================
|
|
GENERATION & EXECUTION
|
|
================================================================ -->
|
|
|
|
<menuitem id="menu_blog_publisher_gen" name="Generation" parent="menu_blog_publisher" sequence="10"/>
|
|
|
|
<menuitem id="menu_blog_generate_wizard" name="Generate Now" parent="menu_blog_publisher_gen"
|
|
action="action_blog_generate_wizard" sequence="10"/>
|
|
|
|
<menuitem id="menu_blog_generation_log" name="Generation Log" parent="menu_blog_publisher_gen"
|
|
action="action_blog_generation_log_list" sequence="20"/>
|
|
|
|
<!-- ================================================================
|
|
CONFIGURATION
|
|
================================================================ -->
|
|
|
|
<menuitem id="menu_blog_publisher_config" name="Configuration" parent="menu_blog_publisher" sequence="20"/>
|
|
|
|
<menuitem id="menu_blog_schedule_slots" name="Schedule Slots" parent="menu_blog_publisher_config"
|
|
action="action_blog_schedule_list" sequence="10"/>
|
|
|
|
<menuitem id="menu_blog_topic_queue" name="Topic Queue" parent="menu_blog_publisher_config"
|
|
action="action_blog_topic_list" sequence="20"/>
|
|
|
|
<!-- ================================================================
|
|
OUTPUT & ANALYTICS
|
|
================================================================ -->
|
|
|
|
<menuitem id="menu_blog_publisher_output" name="Output" parent="menu_blog_publisher" sequence="30"/>
|
|
|
|
<menuitem id="menu_blog_post_social" name="Social Media Copy" parent="menu_blog_publisher_output"
|
|
action="action_blog_post_social_list" sequence="10"/>
|
|
|
|
<!-- ================================================================
|
|
SETTINGS
|
|
================================================================ -->
|
|
|
|
<menuitem id="menu_blog_publisher_settings" name="Settings" parent="menu_blog_publisher" sequence="40"
|
|
action="action_blog_publisher_settings"/>
|
|
|
|
</odoo>
|