Remove active test computed from domain clause
While testing #4341 (closed) I found that the following domain is not correctly converted on server side:
['AND', ['OR', clause1, clause2], [[u'active', u'=', False]]
The problem is that the server includes the active test when generating the or clause, which results to:
['AND',
['AND', ['OR', clause1, clause2], [('active', '=', True)]],
[('active', '=', False)]
Which does not return any record as it's simplified to ['AND', [('active', '=', True)], [('active', '=', False)]]