Use new Rule.query_get
issue4800 review7211003
This commit is contained in:
1 parent
b677e166ca
commit
20dfc22151
1 file changed
+1
-1
@@ -881,7 +881,7 @@ class Move(Workflow, ModelSQL, ModelView):
|
||||
raise ValueError('"%s" has no field "%s"' % (Move, field))
|
||||
assert grouping_filter is None or len(grouping_filter) == len(grouping)
|
||||
|
||||
move_rule_query = Rule.domain_get('stock.move')
|
||||
move_rule_query = Rule.query_get('stock.move')
|
||||
|
||||
PeriodCache = Period.get_cache(grouping)
|
||||
period = None
|
||||
|
||||
Reference in new issue
Block a user