diff options
| author | Raphael Collet <rco@openerp.com> | 2016-04-25 13:38:27 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-04-25 13:38:27 +0200 |
| commit | f5f7df9df24ddd937d403d004c02f779cb4848b7 (patch) | |
| tree | d5bf11113c5fd84e6be37b6fd8694eba99a807e7 /addons/web/static/src/js | |
| parent | 3241415a0ca799cf42dc4ad74977a515c6053642 (diff) | |
| parent | b684f0b521cbb0ed220209bd76c21cd2771bb308 (diff) | |
[MERGE] orm: implement new model for the prefetching of records
The new model is now the following:
- each recordset is attached to a prefetch object: records._prefetch
- the prefetch object associates model names to record ids to prefetch:
ids = records._prefetch[model_name]
- a call to model.browse(ids) returns a recordset with a new prefetch object
- the prefetch object is passed and populated by
- iteration
- access of relational field
- with_env(), sudo(), with_context()
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
