From 760a22649568ebee5d768f1859ddf6f6dfd0a1b4 Mon Sep 17 00:00:00 2001 From: Kamlesh Pathekar Date: Mon, 15 Nov 2021 09:22:41 +0000 Subject: [PATCH] [FIX] sale_project: fix sales order stat button traceback Currently, when we click on 'sales order' stat button of 'project.update' it shows traceback because action name is incorrect. In this commit, action is renamed-https://github.com/odoo/odoo/commit/3d10c7c70884993f1290a4fd430a1c52247a8420# closes #79739 task-2689432 Signed-off-by: Laurent Stukkens (ltu) --- addons/sale_project/models/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_project/models/project.py b/addons/sale_project/models/project.py index 3ee1418ed65..0e73eb769f5 100644 --- a/addons/sale_project/models/project.py +++ b/addons/sale_project/models/project.py @@ -100,7 +100,7 @@ class Project(models.Model): 'icon': 'dollar', 'text': _('Sales Order'), 'action_type': 'object', - 'action': 'action_view_so', + 'action': 'action_view_sos', 'show': bool(self.sale_order_id), 'sequence': 1, })