[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
This commit is contained in:
jem-odoo
2019-08-21 11:22:58 +00:00
parent 4737e01691
commit ba92261148
@@ -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}
)})