summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-04-19 09:33:20 +0200
committerAlexandre Kühn <aku@odoo.com>2018-06-15 17:46:32 +0200
commitb74d1e90ef32893bfbcf750cdf4586c453790b01 (patch)
tree0a35a599d93fc64d72c812cf1aa0c64144c01762 /addons/web/static/src/js/views/basic
parentb170a753e18c96f59e8c99a4e1750a4b85628338 (diff)
[FIX] mail: warn user on record reload before post message
Before this commit, the user could lost some unsaved changes in a record when posting a message in the chatter. This is due to reloading the data on the record, which is necessary because a `message_post` may make some changes on the record [1]. With this commit, a dialog will warn the user that the record will be reloaded in the following cases: a) posting a message in the basic composer that will reload the record b) opening the full-composer when the record is dirty Indeed, any operation after opening the full-composer will always refresh the record (even closing the dialog). Known issues: - a record is not considered as dirty if we only make changes in its description from a pad. > the content of the pad will be erased without any warning... [1] https://github.com/odoo-dev/odoo/commit/803d5cf04835fcf8e7ddb143e1ab140408beef93 opw-1825005
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions