Refactor Table Reservation Theme settings and update port mapping in docker-compose
This commit is contained in:
parent
dd4e83d2da
commit
b7ba123f03
@ -5,23 +5,24 @@
|
|||||||
<field name="model">res.config.settings</field>
|
<field name="model">res.config.settings</field>
|
||||||
<field name="inherit_id" ref="website.res_config_settings_view_form"/>
|
<field name="inherit_id" ref="website.res_config_settings_view_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//block[@id='website_info_settings']" position="inside">
|
<xpath expr="//form" position="inside">
|
||||||
<setting string="Table Reservation Theme" help="Configure custom styling colors for the Table Reservation system" id="theme_reservation_settings">
|
<app string="Theme Settings" name="dine360_theme_reservation" data-string="Theme Settings" data-key="dine360_theme_reservation">
|
||||||
<div class="content-group">
|
<block title="Table Reservation Theme" id="theme_reservation_settings">
|
||||||
<div class="row mt16">
|
<setting string="Table Reservation Theme" help="Configure custom styling colors for the Table Reservation system" id="theme_reservation_settings_detail">
|
||||||
<label for="is_reservation_theme_active" class="col-lg-3 o_light_label"/>
|
|
||||||
<field name="is_reservation_theme_active"/>
|
<field name="is_reservation_theme_active"/>
|
||||||
</div>
|
<div class="content-group" invisible="not is_reservation_theme_active">
|
||||||
<div class="row mt8" invisible="not is_reservation_theme_active">
|
<div class="row mt16">
|
||||||
<label for="reservation_primary_color" class="col-lg-3 o_light_label"/>
|
<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>
|
||||||
<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"/>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</setting>
|
</setting>
|
||||||
|
</block>
|
||||||
|
</app>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@ -16,7 +16,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
ports:
|
ports:
|
||||||
- "10002:8069"
|
- "10006:8069"
|
||||||
environment:
|
environment:
|
||||||
HOST: db
|
HOST: db
|
||||||
USER: odoo
|
USER: odoo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user