This commit adds a website-specific and customizable app name for the Events' Progressive Web Application, configurable through the website's settings. Defaults to '<website_name> Events'. closes odoo/odoo#56564 X-original-commit: 423076ddf1da0fc61d9a18dc19bbbbf900e3dad6 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
11 lines
327 B
Python
11 lines
327 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
events_app_name = fields.Char('Events App Name', related='website_id.events_app_name', readonly=False)
|