Include the period in the nested part when searching the invoice party of lines
Closes #14125
This commit is contained in:
@@ -2457,7 +2457,7 @@ class InvoiceLine(sequence_ordered(), ModelSQL, ModelView, TaxableMixin):
|
||||
|
||||
@classmethod
|
||||
def search_invoice_party(cls, name, clause):
|
||||
nested = clause[0][len(name) + 1:]
|
||||
nested = clause[0][len(name):]
|
||||
return ['OR',
|
||||
('invoice.party' + nested, *clause[1:]),
|
||||
('party' + nested, *clause[1:]),
|
||||
|
||||
Reference in New Issue
Block a user