summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/bootstrap-datetimepicker/src/less
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-11-13 14:51:54 +0100
committerLucas Perais (lpe) <lpe@odoo.com>2017-12-04 13:20:18 +0100
commit8b875e4dd4c20bf03452a06b7d01356367c9a605 (patch)
tree7ae333149d91856dd618eddadeb332e865c646ce /addons/web/static/lib/bootstrap-datetimepicker/src/less
parent7b808982a02c7fe0ead85b1e00ceff1c7bf2d2a1 (diff)
[FIX] web: hide binary file download when new record
Let's have: - on res.company a binary file field named x_file - on res.users a related binary field to company_id.x_file, and make it readonly On the res.users form view, display the new field Before this commit in create mode, upon clicking on download the file, the server crashed, because the record id was empty. Then, the JS crashed in turn because of the unhandled 404 from the server. Since the id of a new record will always be unset, we choose to disable the download event in this very specific case OPW 777042
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker/src/less')
0 files changed, 0 insertions, 0 deletions