From 822aad0464323bfc839e00f76454274356bb446a Mon Sep 17 00:00:00 2001 From: AaronHForgeFlow Date: Wed, 9 Nov 2022 12:19:05 +0100 Subject: [PATCH] [FIX] account_move_line_purchase_info: action that opens journal entries --- account_move_line_purchase_info/models/purchase_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_move_line_purchase_info/models/purchase_order.py b/account_move_line_purchase_info/models/purchase_order.py index e588dab9..11a05644 100644 --- a/account_move_line_purchase_info/models/purchase_order.py +++ b/account_move_line_purchase_info/models/purchase_order.py @@ -42,7 +42,7 @@ class PurchaseOrder(models.Model): invoices = self.journal_entry_ids result = self.env["ir.actions.act_window"]._for_xml_id( - "account.action_move_in_invoice_type" + "account.action_move_journal_line" ) # choose the view_mode accordingly if len(invoices) > 1: