summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2016-03-01 14:34:45 +0100
committerChristophe Matthieu <chm@odoo.com>2016-03-01 15:17:05 +0100
commita46a3f9958063fa9854c61f195e147846ac9b45e (patch)
tree6a2d94982c474a6437661ad0416a696bbaad2031 /doc/reference/javascript.rst
parent20ab363a141e5c6c7f3aaec0ee69305df3003246 (diff)
[FIX] web: can't save if a o2m line have a modifier and try to read db
When the user click on save, 'is_valid' is called on each field. The o2m test all sub-field (apply modifier and check value). But, if a modifier change the read-only attribute, the field is reinitialized and call 'render_value' without check 'no_rerender' value. The relational fields call the db in render_value, and the x2m is invalid because a request is pending. (change X2ManyListView to keep the 'no_rerender' initial value) opw-653120
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions