summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-09-04 17:01:02 +0200
committerGéry Debongnie <ged@odoo.com>2017-09-05 15:41:28 +0200
commit983c7ae22f24f54d1d840c4c2363569f224bfecb (patch)
treef49378ae59a87e2757697766317442fdb0d5c526 /addons/web/static/src/xml/base.xml
parentfef645fcc59ecef242b4f2e01d1b0376aef889fa (diff)
[FIX] web: proper x2m edition with pagination
Before this commit, we did not really handle gracefully editing a one2many with many records. The main issue is that if the user was not on the last page, creating a new record added it to the last page, which is confusing and actually a bad idea for records with required fields. This fix requires a way to track the current changes (because we do not display the current state of the form view: the new record is displayed in the first page, but is actually added at the end of the dataset). Note that this probably does not solve all issues with pagination. This is a quite delicate problem. We will add tests and fixes as needed.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions