[FIX] if a special period is present, it must be selected fist

This is fix related to 
https://github.com/odoo/odoo/issues/3946