diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-02-24 17:08:45 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 167db67300fde595b9017f90ab87494db37adc6b (patch) | |
| tree | 75bce0a3dac94985b470bcad32e33956e27914d1 /addons/web/static/test/fields/basic_fields_tests.js | |
| parent | 352cc10348d784b5276c44358bb3d0af8b108db3 (diff) | |
[FIX] web: _getContext was not returning a consistent context
Hopefully, this commit makes it consistent. There were two problems
with the previous implementation:
- Contexts from field attr (if asked thanks to the options.field
parameter) were not evaluated with the right evaluation ctx
- "raw" contexts (from parent) had to be evaluated with another
evaluation context
Also rename the options.field parameter to options.fieldName.
Diffstat (limited to 'addons/web/static/test/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
