Refactor Table Reservation Theme settings and update port mapping in docker-compose

This commit is contained in:
Alaguraj0361 2026-07-04 14:09:49 +05:30
parent dd4e83d2da
commit b7ba123f03
2 changed files with 18 additions and 17 deletions

View File

@ -5,23 +5,24 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="website.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//block[@id='website_info_settings']" position="inside">
<setting string="Table Reservation Theme" help="Configure custom styling colors for the Table Reservation system" id="theme_reservation_settings">
<div class="content-group">
<div class="row mt16">
<label for="is_reservation_theme_active" class="col-lg-3 o_light_label"/>
<xpath expr="//form" position="inside">
<app string="Theme Settings" name="dine360_theme_reservation" data-string="Theme Settings" data-key="dine360_theme_reservation">
<block title="Table Reservation Theme" id="theme_reservation_settings">
<setting string="Table Reservation Theme" help="Configure custom styling colors for the Table Reservation system" id="theme_reservation_settings_detail">
<field name="is_reservation_theme_active"/>
</div>
<div class="row mt8" invisible="not is_reservation_theme_active">
<div class="content-group" invisible="not is_reservation_theme_active">
<div class="row mt16">
<label for="reservation_primary_color" class="col-lg-3 o_light_label"/>
<field name="reservation_primary_color" widget="color"/>
<field name="reservation_primary_color"/>
</div>
<div class="row mt8" invisible="not is_reservation_theme_active">
<div class="row mt8">
<label for="reservation_secondary_color" class="col-lg-3 o_light_label"/>
<field name="reservation_secondary_color" widget="color"/>
<field name="reservation_secondary_color"/>
</div>
</div>
</setting>
</block>
</app>
</xpath>
</field>
</record>

View File

@ -16,7 +16,7 @@ services:
depends_on:
- db
ports:
- "10002:8069"
- "10006:8069"
environment:
HOST: db
USER: odoo