[FIX] developer/reference: code example
closes odoo/documentation#2943 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
parent
4b0b29e0fd
commit
38dc4ceca5
@ -478,7 +478,7 @@ A notification for when a sale deal is made with a button to go some kind of com
|
||||
|
||||
// in setup
|
||||
this.notificationService = useService("notification");
|
||||
this.actionService = useService("actionService");
|
||||
this.actionService = useService("action");
|
||||
|
||||
// later
|
||||
this.notificationService.add("You closed a deal!", {
|
||||
|
Loading…
Reference in New Issue
Block a user