summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-06-08 13:42:49 +0200
committerqsm-odoo <qsm@odoo.com>2017-06-08 14:30:50 +0200
commit78fee1c6342ec137521cebedc7309dff432ff512 (patch)
treedf83e0047b3091065418a3e863f48725bd18e266 /addons/web/static/src/js/views/basic
parent79e4a1f1b116a447b72fb9d1c846260ae6b3ac2c (diff)
[FIX] website: restore some website rpc since new views
The website is not ready. It is still too young to understand what the beautiful `_rpc` function can bring to its life. Someday it will, but for now, it can at least rely on the `rpc.query` function or to the 'Ace' menu which now understands the beauty of `_rpc`. --- -> Replace website `_rpc` calls with deprecated `rpc.query` as the website is not structured enough yet to handle 'trigger_up' events. -> As the `_rpc` calls cannot be replaced for the ace editor because it is also used and tested in the backend, promote the 'Ace' menu (which instantiate the ace editor) to be a `ServiceProvider` so that the `_rpc` method works in this particular case.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions