[FIX] web_graph: pass context to fields_get for translation
authorDenis Ledoux <dle@odoo.com>
Thu, 27 Nov 2014 15:03:14 +0000 (16:03 +0100)
committerDenis Ledoux <dle@odoo.com>
Thu, 27 Nov 2014 15:06:05 +0000 (16:06 +0100)
commit15d87a17325c8ee0696e0f16a9a9ad7c09d342de
treefc1e74b8e5ab91ad6c516b5269a9a40ab181cff0
parent62bc63e44f470ce0d6003fcc1fb9fd2d16350e4e
[FIX] web_graph: pass context to fields_get for translation

In graph views, fields from the pivot table were not translated in the user language
We pass the context, containing the user language, to fields_get in order to get the translation
This is also done by the search view, in search.js line 1978 at this rev.

opw-616713
addons/web_graph/static/src/js/graph_widget.js