# -*- coding: utf-8 -*- from odoo import models, fields class Website(models.Model): _inherit = 'website' is_reservation_theme_active = fields.Boolean( string='Activate Custom Reservation Theme', default=True, help='If checked, applies custom primary and secondary colors to the Table Reservation page.' ) reservation_primary_color = fields.Char( string='Reservation Primary Color', default='#fecd4f', help='Primary accent color used for headers, buttons, borders, highlights, and active/selected states.' ) reservation_secondary_color = fields.Char( string='Reservation Secondary Color', default='#171422', help='Secondary color used for text within buttons and other components to ensure high contrast.' ) # Form Fields Visibility Controls reservation_show_phone = fields.Boolean( string='Show Phone Number', default=True, help="If checked, Phone Number field will be displayed on the reservation form." ) reservation_show_email = fields.Boolean( string='Show Email Address', default=True, help="If checked, Email Address field will be displayed on the reservation form." ) reservation_show_guests = fields.Boolean( string='Show Number of Guests', default=True, help="If checked, Number of Guests field will be displayed on the reservation form." ) reservation_show_special_requests = fields.Boolean( string='Show Special Requests / Notes', default=True, help="If checked, Special Requests input box will be displayed on the reservation form." ) reservation_show_occasion = fields.Boolean( string='Show Dining Occasion', default=False, help="If checked, Dining Occasion dropdown (Birthday, Anniversary, etc.) will be displayed." ) reservation_show_dietary = fields.Boolean( string='Show Dietary Requirements / Allergies', default=False, help="If checked, Dietary Requirements input field will be displayed on the reservation form." ) reservation_show_zone = fields.Boolean( string='Show Preferred Seating Area / Zone', default=False, help="If checked, Seating Area preference dropdown will be displayed on the reservation form." )