diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-04-14 11:22:07 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-14 22:36:55 +0200 |
| commit | 0494d612749cd0b7e937d3828775ca54961a29b9 (patch) | |
| tree | 74c7d00b31e2110ce06ed4b2ce7e9683a75dd640 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 2eda2a7296dd5aeaeae3cea82736d72534a22e1f (diff) | |
[FIX] web: readonly fields may be edited
The readonly attribute of a field in its description can be
overriden in the views (e.g. with modifiers). So readonly fields
may actually be edited from views in which there is a modifiers
on their node overriding the default value.
Before this rev., readonly fields couldn't be saved, even if they
could be edited from views (with such modifiers).
For instance, it wasn't possible to change the value of the
partner_id field in a draft sale_order.
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
