- Introduced a new module for customizing the Table Reservation theme with primary and secondary branding colors. - Updated the __manifest__.py to include dependencies and module details. - Created models for website settings to manage theme colors. - Added views for configuration settings and menu items for easy access. - Enhanced reservation templates to apply custom styles dynamically. - Implemented a verification script to check if the theme is applied correctly. - Updated docker-compose.yml to change the exposed port for the Odoo service.
17 lines
678 B
XML
17 lines
678 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="action_reservation_theme_settings" model="ir.actions.act_window">
|
|
<field name="name">Theme Settings</field>
|
|
<field name="res_model">res.config.settings</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">inline</field>
|
|
<field name="context">{'module': 'dine360_theme_reservation'}</field>
|
|
</record>
|
|
|
|
<menuitem id="menu_reservation_theme_settings"
|
|
name="Theme Settings"
|
|
parent="dine360_reservation.menu_restaurant_reservation_root"
|
|
action="action_reservation_theme_settings"
|
|
sequence="50"/>
|
|
</odoo>
|