Skip to content
Extraits de code Groupes Projets
Valider 3ca23b4c rédigé par Julien - Le Filament's avatar Julien - Le Filament
Parcourir les fichiers

[UPD] improve kanban reload

parent ae884f9d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -6,7 +6,9 @@ export class PriorityGroupKanbanController extends KanbanController { ...@@ -6,7 +6,9 @@ export class PriorityGroupKanbanController extends KanbanController {
setup() { setup() {
super.setup(); super.setup();
} }
CreatePriorityGroupClick() {
async CreatePriorityGroupClick() {
self = this;
this.actionService.doAction({ this.actionService.doAction({
type: "ir.actions.act_window", type: "ir.actions.act_window",
res_model: "acc.priority.group", res_model: "acc.priority.group",
...@@ -19,8 +21,9 @@ export class PriorityGroupKanbanController extends KanbanController { ...@@ -19,8 +21,9 @@ export class PriorityGroupKanbanController extends KanbanController {
context: this.props.context || {}, context: this.props.context || {},
}, },
{ {
onClose: function () { onClose: async () => {
location.reload() await self.model.root.load();
self.render(true);
} }
}); });
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter