Generate a valid domain for the origin invoices via the searcher on the invoice
Closes #15062 (grafted from 3fa1c544b703ac7b134992cd62693cd43b633c45) --HG-- branch : 8.0
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user