2
0

[FIX] account_move_line_purchase_info: action that opens journal entries

This commit is contained in:
AaronHForgeFlow 2022-11-09 12:19:05 +01:00 committed by Andrea Stirpe
parent a96ecce056
commit 822aad0464

View File

@ -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: