[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:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user