summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-03-24 09:23:51 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit0d41d60bb7cadeed958338fe8bcb8703c500edaf (patch)
treeaf29da455fb2096a1f9b702bd0e52b145273cda6 /addons/web/static/src/js/fields/basic_fields.js
parent348a44855d65ea780e5bbfcf536df49753cf6dd7 (diff)
[FIX] web: MockServer: better mock loadViews()
Before this rev. parts of the processing of the fields_views and fields returned by the server done in data_manager were duplicated in the MockServer and test_utils, and other parts were missing, so the test environment didn't reproduce well the tested one. This rev. refactors the code s.t. it can call the method of the data_manager that postprocesses the result of a loadViews(). It also moves the logic to the fieldsViewGet() method so that this works in every test scenario, not only when a view is created (e.g. Studio).
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions