Include the period in the nested part when searching the invoice party of lines
Closes #14125
This commit is contained in:
1 parent
f958c59d05
commit
8d4b38b339
1 file changed
+1
-1
@@ -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