mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_move_line_purchase_info: action that opens journal entries
This commit is contained in:
committed by
JasminSForgeFlow
parent
886805683e
commit
0534f29faf
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user