From 1fb965a74aef90e6df88d2e4eae9d83227fdfc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 4 Sep 2026 08:28:54 +0200 Subject: [PATCH] Generate a valid domain for the origin invoices via the searcher on the invoice Closes #15062 (grafted from 3fa1c544b703ac7b134992cd62693cd43b633c45) --HG-- branch : 8.0 --- modules/account_invoice/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_invoice/invoice.py b/modules/account_invoice/invoice.py index 0ed2479a7d..6d44284bb3 100644 --- a/modules/account_invoice/invoice.py +++ b/modules/account_invoice/invoice.py @@ -1581,7 +1581,7 @@ class Invoice( @classmethod def search_origin_invoices(cls, name, clause): - return [('lines.origin.invoice', clause[0][len(name):], + return [('lines.origin.invoice' + clause[0][len(name):], *clause[1:3], 'account.invoice.line', *clause[3:])] def chat_language(self, audience='internal'):