Fix a problem with multi day tasks in calendar view.

The problem existed to the error in Odoo documentation, which is now
(mostly) fixed.