diff --git a/addons/project/i18n/project.pot b/addons/project/i18n/project.pot index eb35e80e33e..c3388f7ccea 100644 --- a/addons/project/i18n/project.pot +++ b/addons/project/i18n/project.pot @@ -1338,14 +1338,6 @@ msgstr "" msgid "Currency" msgstr "" -#. module: project -#. odoo-python -#: code:addons/project/models/project_task.py:0 -#: code:addons/project/models/project_task.py:0 -#, python-format -msgid "Current Stage: %s" -msgstr "" - #. module: project #: model_terms:ir.ui.view,arch_db:project.portal_tasks_list msgid "Current project of the task" diff --git a/addons/project/models/project_task.py b/addons/project/models/project_task.py index 931c46637d8..ae695891b31 100644 --- a/addons/project/models/project_task.py +++ b/addons/project/models/project_task.py @@ -1018,16 +1018,6 @@ class Task(models.Model): task.state = '04_waiting_normal' if vals['state'] in CLOSED_STATES: task.date_last_stage_update = now - if "stage_id" not in vals: - if len(self) > 1: - task_ids_per_stage = defaultdict(list) - for task in self: - task_ids_per_stage[task.stage_id].append(task.id) - for stage, task_ids in task_ids_per_stage.items(): - tasks = self.browse(task_ids) - tasks._track_set_log_message(_lt("Current Stage: %s", stage.name)) - else: - self._track_set_log_message(_("Current Stage: %s", self.stage_id.name)) self._task_message_auto_subscribe_notify({task: task.user_ids - old_user_ids[task] - self.env.user for task in self}) return result