diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-08-21 12:46:38 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-08-21 14:16:34 +0000 |
| commit | a0e918796f2994c986abf6d968e4d1282da59982 (patch) | |
| tree | d067ca7439b7a86e90a2cd68cfbfec0a0feed880 /doc/python3.rst | |
| parent | 79f6b15c747a7ce9bf3d3415c569feda4da85323 (diff) | |
[FIX] mail: remove JS record proxy in favor of accessors
- accessors are defined only once on the model
- they work per field which avoids having to check if target param is in fields
at every read/write on record
Also store fields as list in `__fieldList` to quickly iterate them without
`Object.values`.
`__combinedFields` are now renamed to `__fieldMap` instead of just `fields` to
avoid confusion with fields definition, and to have a naming similar to
`__fieldList`.
Part of task-2308312
closes odoo/odoo#56314
X-original-commit: 42a94d49b9e8333cf91807c96f0ddd740782915e
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
