diff options
| author | Dharmraj Jhala <dja@odoo.com> | 2019-10-25 05:42:59 +0000 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2020-03-19 09:21:20 +0000 |
| commit | 7557ac299b39c907fd1269629cc6f1275dc0ad13 (patch) | |
| tree | 1d691f0d9ed69c0d210767cbcb29dbef860421e8 /addons/mail/static/src/js/models/threads/dm_chat.js | |
| parent | 9cf534f577c9c454c2055ac12e853188a5985c25 (diff) | |
[FIX] web: properly set page data in 'ModelFieldSelector' widget
When passing a default field chain to ModelFieldSelector, the page data is
not set correctly for the relational field. To understand the issue :
- login to master enterprise all db branch in runbot (debug mode recommended)
- create a mass mailing, add subject, select 'Contact' in `Recipients` field
- click on domain selector and select 'Company' from ModelFieldSelector popover
- click somewhere else to close the popover
- again open domain selector and observe the popover
Current behavior : fields of `Contact` are visible in the page even thogh
`Company` is selected in the ModelFieldSelector
Expected behavior : fields of `Company` should be visible in the dropdown page
This commit fixes the issue by correctly pushing the page data
in ModelFieldSelector.
task - 2058702
closes odoo/odoo#39548
Related: odoo/enterprise#5370
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/dm_chat.js')
0 files changed, 0 insertions, 0 deletions
