summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-01-17 12:11:39 +0100
committerGéry Debongnie <ged@odoo.com>2018-01-17 14:26:37 +0100
commitca2060048ef7d0933b3edfd2d6a15a48bfe6373d (patch)
tree389fc52b427804cbb2c1df947b5f62432b5330d3 /doc
parent00039883c130c781803417ffb043fefaa29cf13f (diff)
[FIX] web: fix issue with multiple pages and relational fields
When fetching x2manys in a x2many, the basic model did not properly sort the internal data structure before fetching the data. This is usually not an issue, except when we have an order which is different from the order of the res_ids. In that case, it can cause crash in some conditions, because the results from the fetchx2manybatched were applied to the wrong datapoint. To reproduce this issue, some specific conditions needs to be met. I think that it is easier to refer to the test, instead of trying to explain that. In this commit, we properly sort the data at the correct place. Note that this probably solves a bunch of other related issues, caused by the fact that the internal structure was corrupted.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions