[IMP] event: add setting option for event_booth module installation

PURPOSE

Adds the possibility to install the new module 'event_booth'
through the event settings.

LINKS

Task-2318655
Closes : odoo/odoo#71104
This commit is contained in:
Patrick Hoste
2021-09-02 14:14:31 +00:00
parent 0eaecf062c
commit 73078e9cfc
2 changed files with 12 additions and 0 deletions
@@ -16,6 +16,7 @@ class ResConfigSettings(models.TransientModel):
module_website_event_questions = fields.Boolean("Registration Survey")
module_event_barcode = fields.Boolean("Barcode")
module_website_event_sale = fields.Boolean("Online Ticketing")
module_event_booth = fields.Boolean("Booth Management")
@api.onchange('module_website_event_track')
def _onchange_module_website_event_track(self):
@@ -61,6 +61,17 @@
</div>
</div>
</div>
<div class="mt-3">
<div class="o_setting_left_pane">
<field name="module_event_booth"/>
</div>
<div class="o_setting_right_pane">
<label string="Booth Management" for="module_event_booth"/>
<div class="text-muted">
Create Booths and manage their reservations
</div>
</div>
</div>
</div>
</div>
<h2>Registration</h2>