[FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values.
[FIX] analytic: contract manager_id defaults to the context value
[IMP] Refactor ir.ui.view's read_template cache invalidation
[FIX] fields: make convert_to_cache() more robust with inverse one2many

When a one2many field uses an integer field as inverse, the onchange method on
the second model may receive a dictionary for the value of the integer field.
This is because the client expects that field to be a many2one.
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32