[FIX] mail: fix activity directly mark as done display
task-2280174 closes odoo/odoo#53863 X-original-commit: 2638d32db686ef1906c2b2b45d3e9276fe831e52 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -98,9 +98,10 @@ class ChatterTopbar extends Component {
|
||||
return this.env.bus.trigger('do-action', {
|
||||
action,
|
||||
options: {
|
||||
// A bit "extreme", could be improved:
|
||||
// normally only an activity is created (no update nor delete)
|
||||
on_close: () => this.chatter.refreshActivities(),
|
||||
on_close: () => {
|
||||
this.chatter.refreshActivities();
|
||||
this.chatter.refresh();
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user