summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2020-03-02 14:14:18 +0000
committerMartin Trigaux <mat@odoo.com>2020-03-21 10:23:32 +0000
commit94f8f15036c3e5fec4aed9a7e50960bc7f190631 (patch)
treed926cb95ab4641af45d4e96644c38b8d981fd413 /addons/web/static/src/js/fields/basic_fields.js
parent92f9d9b21b7bdde796e6105ee53f83d71fde3044 (diff)
[FIX] website: make handle_visibility private
This commit: - make handle_visibility a private function (even if not exploitable in rpc easily since it uses request.website) - encrypt the password in db (even if not critic, since this password could be shared on twitter, ... it doesn't cost anything to secure it a bit more) - remove useless sudo, since handle_visibility does a sudo itself. In the future, this notion of visibility should be handled on controller layer, and no more on the View layer (during rendering) closes odoo/odoo#48145 X-original-commit: 06e0e48217f25f17dff23331111f5dcb98e8cecd Signed-off-by: Martin Trigaux (mat) <mat@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions