ir.sequence: merge the test fix with the condition code
ir.sequence: merge the test fix with the condition code

This merges the trunk version (which uses preset tests) with the xrg
one, that allows mutliple sequences per case, chosen by a python
condition.

xrg/openerp-server,xrg/openerp-server