diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-05-06 10:07:23 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-05-07 09:33:52 +0000 |
| commit | 1159dcadbff09db464c13af96e54d259395662ea (patch) | |
| tree | b04fefade288f82ad8b516eee2b887447beab2c9 /addons/web/static/src/js/fields/basic_fields_owl.js | |
| parent | 513c6d18dfbabf6bf0dc930b457f34ff94b71cac (diff) | |
[FIX] mail: fix "open_attachments" option's attachments not loaded
Issue
- Install Recruitment
- Go on any application
- Add an attachment
- Go back, refresh
- Returns on the application
The attachment box is open but
the attachments are not loaded.
You must toggle it again to load them.
Cause
When opening the box, this.attachments is empty
so no attachments are shown.
Solution
Load the attachments if the option is present.
It will not cause supplementary RPCs thanks
to "_areAttachmentsLoaded"
OPW-2246116
closes odoo/odoo#50825
X-original-commit: 40cea06301505f0f931b5cfce1da0f05760f8dcc
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields_owl.js')
0 files changed, 0 insertions, 0 deletions
