From ba922611481b1f46a1fdf9c689cd6abbb4dbb0a6 Mon Sep 17 00:00:00 2001 From: jem-odoo Date: Wed, 14 Aug 2019 07:44:11 +0000 Subject: [PATCH] [FIX] sale_timesheet_purchase: correct action xmlid Since the refactoring of the accounting model, some action changed but their xmlid were not adapted everywhere. Task-1843241 --- addons/sale_timesheet_purchase/models/project_overview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_timesheet_purchase/models/project_overview.py b/addons/sale_timesheet_purchase/models/project_overview.py index 6af3cbef830..c827a89bbce 100644 --- a/addons/sale_timesheet_purchase/models/project_overview.py +++ b/addons/sale_timesheet_purchase/models/project_overview.py @@ -30,7 +30,7 @@ class Project(models.Model): 'count': len(account_invoices), 'icon': 'fa pencil-square-o', 'action': _to_action_data( - action=self.env.ref('purchase.action_invoice_pending'), + action=self.env.ref('account.action_move_in_invoice_type'), domain=[('id', 'in', account_invoices.ids)], context={'create': False, 'edit': False, 'delete': False} )})