summaryrefslogtreecommitdiff
path: root/addons/website_livechat
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2018-09-21 13:59:47 +0200
committerAdrian Torres <adt@odoo.com>2018-09-27 12:10:23 +0200
commit52a8ed3c0c72b21baf589bc9b91a030d9da661a8 (patch)
tree68466b55d5e0172f826e4b4842952d3620559c4f /addons/website_livechat
parent3c093a8108409f74f0c7ca9770be04896fc149f7 (diff)
[IMP] fields: make related fields readonly by default
With this commit, any *explicitly* related fields will be `readonly=True` by default. *Implicitly* related fields (i.e. _inherits fields) however will keep the source field's `readonly` attribute. The rationales behind this patch are: * Enforce good practices, as the most common use-case for related fields is the same as for compute fields: to read data. * Avoid errors where some user saves a form view which contains a related field that the user doesn't have write access to.
Diffstat (limited to 'addons/website_livechat')
0 files changed, 0 insertions, 0 deletions