From 9ebec424c209795c1268ecb9bc6e93818f86cc84 Mon Sep 17 00:00:00 2001 From: Adrien Dieudonne Date: Mon, 13 Feb 2023 12:39:32 +0000 Subject: [PATCH] [REM] hr_timesheet, im_livechat: Awesome Timesheet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our intentions is to push people to use the Timesheet app inside Odoo instead of this old mobile app. Task ID: 3168693 closes odoo/odoo#112558 Related: odoo/enterprise#37035 Related: odoo/upgrade#4331 Signed-off-by: Adrien Dieudonné (adr) --- .../models/res_config_settings.py | 3 --- .../views/res_config_settings_views.xml | 22 ------------------- .../data/im_livechat_channel_demo.xml | 2 +- 3 files changed, 1 insertion(+), 26 deletions(-) diff --git a/addons/hr_timesheet/models/res_config_settings.py b/addons/hr_timesheet/models/res_config_settings.py index 55dc299ed6c..9ba838c0138 100644 --- a/addons/hr_timesheet/models/res_config_settings.py +++ b/addons/hr_timesheet/models/res_config_settings.py @@ -7,8 +7,6 @@ from odoo import api, fields, models class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' - module_project_timesheet_synchro = fields.Boolean("Awesome Timesheet", - compute="_compute_timesheet_modules", store=True, readonly=False) module_project_timesheet_holidays = fields.Boolean("Time Off", compute="_compute_timesheet_modules", store=True, readonly=False) reminder_user_allow = fields.Boolean(string="Employee Reminder") @@ -44,6 +42,5 @@ class ResConfigSettings(models.TransientModel): @api.depends('module_hr_timesheet') def _compute_timesheet_modules(self): self.filtered(lambda config: not config.module_hr_timesheet).update({ - 'module_project_timesheet_synchro': False, 'module_project_timesheet_holidays': False, }) diff --git a/addons/hr_timesheet/views/res_config_settings_views.xml b/addons/hr_timesheet/views/res_config_settings_views.xml index 15bddcbbbf9..80fbf44e1df 100644 --- a/addons/hr_timesheet/views/res_config_settings_views.xml +++ b/addons/hr_timesheet/views/res_config_settings_views.xml @@ -16,28 +16,6 @@ - - -
-
- -
- - Apple App Store - -
-
- - Google Play Store - -
-
-
-
diff --git a/addons/im_livechat/data/im_livechat_channel_demo.xml b/addons/im_livechat/data/im_livechat_channel_demo.xml index 6027cf3e7f9..150a3992352 100644 --- a/addons/im_livechat/data/im_livechat_channel_demo.xml +++ b/addons/im_livechat/data/im_livechat_channel_demo.xml @@ -55,7 +55,7 @@ email - Yes, you can use our Timesheets application and Awesome Timesheets to record your time efficiently! + Yes, you can use our Timesheets application to record your time efficiently!