diff options
| author | Pierre Paridans <app@odoo.com> | 2019-02-27 11:53:02 +0000 |
|---|---|---|
| committer | Pierre Paridans <app@odoo.com> | 2019-03-13 09:14:47 +0000 |
| commit | ad8a6afa4fbe89ecbbc027f00af5cc2bac025571 (patch) | |
| tree | f051f90fd3eca4bbdba900a460db5b00c87ff8fc /addons/mail/data/mail_activity_data.xml | |
| parent | 0ab333c6e837f08cbe13a2b533ab2c7422647724 (diff) | |
[FIX] lunch: rpc call cannot be performed in Widget.init()
The Widget's init function is synchronous.
The 'then' will execute after the end of the function so
self.group_portal_id will not be set immediately.
Also, RPC's in the init function is really not a good idea, it should be
putted in the willStart.
Original commit: https://github.com/odoo/odoo/commit/855c6dac25fccaf9312543022001ed0b360d6e13
closes odoo/odoo#31508
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/mail/data/mail_activity_data.xml')
0 files changed, 0 insertions, 0 deletions
