summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/views/basic_model_tests.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-05-23 17:20:43 +0200
committerGéry Debongnie <ged@odoo.com>2017-05-24 11:37:38 +0200
commita3441cfb566f7274e049ec3eab803a909bd40f5a (patch)
tree8b4b2f2497d443eb6bcd5da2093a7e3a966792f9 /addons/web/static/tests/views/basic_model_tests.js
parentfc82e1e40abd8092e6a044dc4e78432beffb5149 (diff)
[FIX] web: handle 'required' attribute in x2many+onchange
Before doing an onchange in a x2many, the basic model tries to evaluate if the line is valid or not. In that computation, we used the field.required property instead of using the required modifier. This commit had to move the modifier handling from the BasicRenderer to the BasicModel, in order to use it in the _isX2ManyValid method.
Diffstat (limited to 'addons/web/static/tests/views/basic_model_tests.js')
0 files changed, 0 insertions, 0 deletions