Fix searcher methods for dot notation
issue6757 review40651002
This commit is contained in:
1 parent
3b70cadcdd
commit
45779b4068
1 file changed
+2
-2
+2
-2
@@ -111,6 +111,6 @@ class AnalyticAccountEntry:
|
||||
domain = super(AnalyticAccountEntry, cls).search_company(name, clause)
|
||||
return ['OR',
|
||||
domain,
|
||||
(('origin.purchase.company',) + tuple(clause[1:])
|
||||
+ ('purchase.line',)),
|
||||
(('origin.purchase.' + clause[0],) + tuple(clause[1:3])
|
||||
+ ('purchase.line',) + tuple(clause[3:])),
|
||||
]
|
||||
Reference in new issue
Block a user