Use new Rule.query_get

issue4800
review7211003
This commit is contained in:
Cédric Krier committed 2015-06-15 01:16:21 +02:00
1 parent b677e166ca
commit 20dfc22151
1 file changed
+1 -1
+1 -1
View File
@@ -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