Alaguraj0361 dd4e83d2da Add Dine360 Table Reservation Theme Customizer
- 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.
2026-07-03 22:52:18 +05:30

22 lines
686 B
Python

# -*- coding: utf-8 -*-
from odoo import models, fields
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
is_reservation_theme_active = fields.Boolean(
related='website_id.is_reservation_theme_active',
readonly=False,
string='Activate Custom Reservation Theme'
)
reservation_primary_color = fields.Char(
related='website_id.reservation_primary_color',
readonly=False,
string='Reservation Primary Color'
)
reservation_secondary_color = fields.Char(
related='website_id.reservation_secondary_color',
readonly=False,
string='Reservation Secondary Color'
)