[FIX] addons: incorrect new-api invocation of method write() with context

This fixes #3411.
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32