[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:
parent
963de80d3e
commit
6c7ee83bc4
@ -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!", {
|
||||||
|
Loading…
Reference in New Issue
Block a user