summaryrefslogtreecommitdiff
path: root/addons/website_jitsi/models
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-08-14 07:00:09 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-14 14:53:38 +0000
commitd8dc8901be7c130ad28e2148ebeb8bb17f8cfeba (patch)
tree3713203b77dd96a3e41699739debdf336f9d612b /addons/website_jitsi/models
parentc18b61442050424e7512a87b5f81c60b4ecc56a6 (diff)
[FW][IMP] website_event_meet: improve meeting room model
SPECIFICATIONS Slightly improve meeting room model * set chat room as required. Meeting rooms without chat room make no sense; * allow to translate room summary. As this is displayed in frontend having it translated makes sense; * improve label of reached participants, allowing notably to display it nicely in backend; LINKS Coming from internal feedback while deploying online support Task ID-2314778 PR #55887 X-original-commit 54bd8281cf94ddee77073cf5d6356d847d08d024
Diffstat (limited to 'addons/website_jitsi/models')
-rw-r--r--addons/website_jitsi/models/chat_room_mixin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_jitsi/models/chat_room_mixin.py b/addons/website_jitsi/models/chat_room_mixin.py
index 5ced6599c66..247872be9fc 100644
--- a/addons/website_jitsi/models/chat_room_mixin.py
+++ b/addons/website_jitsi/models/chat_room_mixin.py
@@ -30,7 +30,7 @@ class ChatRoomMixin(models.AbstractModel):
room_max_capacity = fields.Selection(string="Max capacity", related="chat_room_id.max_capacity", readonly=False, required=True)
room_participant_count = fields.Integer("Participant count", related="chat_room_id.participant_count", readonly=False)
room_last_activity = fields.Datetime("Last activity", related="chat_room_id.last_activity")
- room_max_participant_reached = fields.Integer("Max participant reached", related="chat_room_id.max_participant_reached")
+ room_max_participant_reached = fields.Integer("Peak participants", related="chat_room_id.max_participant_reached")
@api.model_create_multi
def create(self, values_list):