[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) <ltu@odoo.com>
This commit is contained in:
Kamlesh Pathekar
2021-11-22 16:27:01 +00:00
parent 91633b6008
commit 760a226495
+1 -1
View File
@@ -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,
})