[FIX] web: invoke fields_view_get with kwargs instead of positional args
authorRaphael Collet <rco@openerp.com>
Tue, 9 Sep 2014 14:28:08 +0000 (16:28 +0200)
committerRaphael Collet <rco@openerp.com>
Tue, 9 Sep 2014 15:13:14 +0000 (17:13 +0200)
commita6269dceadd3e00a67e6c9be884636c03d478c59
treed531bc94e018a904e3a7abdd765ed0ea5fb4d7ae
parent2f1814088f16d704af0350e0b8892d3827c44ae1
[FIX] web: invoke fields_view_get with kwargs instead of positional args

The mapping old api → new api mistakenly takes the last positional argument as
the context (fields_view_get() has an extra parameter after context.)

Fixes issue #2063
addons/web/static/src/js/views.js