Fix compute_quantities_query when stock.move has no domain rule

move_rule_query is used with a IN clause so it doesn't work with literal True.
So in case of move_rule_query is empty, the clause should simply be the literal
without IN clause.

issue3999
review11341002

--HG--
extra : rebase_source : 3d35e5b7465af46691ae30083bde9ed67fbec3f1