V8

Let's make analytic compatible with version 8 of odoo. 

Here is pull request in separate branch - v8.