[FIX] account: chart of account opening period selection

If a special period is present, it must be selected fist
Fixes #3946
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-linux64