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
(grafted from 8a0a07fd22712abb5eafa60547a057b40b96b360)

--HG--
branch : 3.2
extra : source : 8a0a07fd22712abb5eafa60547a057b40b96b360
Fix values test for check of no move

The check must be performed even if the value of the field is False.

issue4057
review11371002
(grafted from dd9b62241a0350cac83340d50a33db211c9cf4fd)

--HG--
branch : 3.2
extra : source : dd9b62241a0350cac83340d50a33db211c9cf4fd