[FW][FIX] developer/reference: code example

closes odoo/documentation#3028

Forward-port-of: odoo/documentation#2943
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Ivan Kropotkin 2022-11-14 13:17:36 +00:00 committed by Ivan Yelizariev
parent 963de80d3e
commit 6c7ee83bc4

View File

@ -484,7 +484,7 @@ A notification for when a sale deal is made with a button to go some kind of com
// in setup // in setup
this.notificationService = useService("notification"); this.notificationService = useService("notification");
this.actionService = useService("actionService"); this.actionService = useService("action");
// later // later
this.notificationService.add("You closed a deal!", { this.notificationService.add("You closed a deal!", {