From 2257c295e193e07b4235831573cc6099dd2fbd87 Mon Sep 17 00:00:00 2001 From: "Manushi Shah (mash)" Date: Thu, 10 Aug 2023 15:11:43 +0530 Subject: [PATCH] [FIX] project: display title instead of empty block Steps: - Open Website > My Account > Projects - Open the project in which the customer is not set - Now perform 'group by customer' on that project. Issue: - A blank line is shown below the header line. Cause: - No condition is applied to it when we do not have a customer set. Fix: - Adding condition to display 'No Customer' instead of an empty block. closes odoo/odoo#136734 Task: 3461563 X-original-commit: 0649a1d12ef9ecd5ff680679eb2c6151287cc22e Signed-off-by: Xavier Bol (xbo) --- addons/project/i18n/project.pot | 5 +++++ .../project/views/project_portal_project_task_templates.xml | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/addons/project/i18n/project.pot b/addons/project/i18n/project.pot index 4cfc2c35011..828ccb78830 100644 --- a/addons/project/i18n/project.pot +++ b/addons/project/i18n/project.pot @@ -2781,6 +2781,11 @@ msgstr "" msgid "Next Activity Type" msgstr "" +#. module: project +#: model_terms:ir.ui.view,arch_db:project.portal_tasks_list +msgid "No Customer" +msgstr "" + #. module: project #: model_terms:ir.ui.view,arch_db:project.portal_tasks_list msgid "No Milestone" diff --git a/addons/project/views/project_portal_project_task_templates.xml b/addons/project/views/project_portal_project_task_templates.xml index 5f445ef9555..5ccadcfe3d0 100644 --- a/addons/project/views/project_portal_project_task_templates.xml +++ b/addons/project/views/project_portal_project_task_templates.xml @@ -54,7 +54,11 @@ - + + No Customer +