diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-05-24 10:16:46 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2019-06-03 15:01:57 +0000 |
| commit | d7d7d92e92aa4bc5d81c77b41c8e41f4ee479777 (patch) | |
| tree | cbaff2d61dc39020358c2b27679fd12a15bcd6f7 /doc | |
| parent | 6028d91a26f093baa05faf8b5da0a708eca45f4d (diff) | |
[FIX] web: binary fields correctly resets
When uploading a file to a binary file, then clicking on the
"clear" button, then reuploading the same file...
Before this commit:
The actual input of the field was only changed on user input.
This means that the "clear" action didn't reset the actual value
of the input, and the browser's default behaviour when getting
the same path twice is not to change anything. In the use case,
you couldn't upload the same file until you uploaded another one.
After this commit:
The "clear" action now also clears the value, allowing reuploading
the same file over again.
closes odoo/odoo#33843
Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
