[IMP] web: modify notification.js like in enterprise
[IMP] web: modify notification.js like in enterprise

The enterprise web client had to be modified to fix a crash.  This crash
does not occur in the community web client,  but this commit makes sure
that the semantics of the notification manager is the same as the
enterprise version, to prevent future problems.

Elico-Corp/odoo_OCB,hip-odoo/odoo,mkieszek/odoo,microcom/odoo,ygol/odoo,stephen144/odoo,syci/OCB,ygol/odoo,microcom/odoo,bplancher/odoo,syci/OCB,optima-ict/odoo,microcom/odoo,mkieszek/odoo,optima-ict/odoo,ygol/odoo,syci/OCB,sysadminmatmoz/OCB,bplancher/odoo,sysadminmatmoz/OCB,dfang/odoo,hip-odoo/odoo,bplancher/odoo,syci/OCB,ygol/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,sysadminmatmoz/OCB,sysadminmatmoz/OCB,bplancher/odoo,mkieszek/odoo,tvtsoft/odoo8,laslabs/odoo,ygol/odoo,dfang/odoo,microcom/odoo,sysadminmatmoz/OCB,tvtsoft/odoo8,Elico-Corp/odoo_OCB,hip-odoo/odoo,storm-computers/odoo,dfang/odoo,stephen144/odoo,syci/OCB,sysadminmatmoz/OCB,mkieszek/odoo,bplancher/odoo,storm-computers/odoo,optima-ict/odoo,tvtsoft/odoo8,dfang/odoo,optima-ict/odoo,laslabs/odoo,microcom/odoo,mkieszek/odoo,Elico-Corp/odoo_OCB,dfang/odoo,storm-computers/odoo,storm-computers/odoo,storm-computers/odoo,hip-odoo/odoo,hip-odoo/odoo,ygol/odoo,bplancher/odoo,syci/OCB,laslabs/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,microcom/odoo,stephen144/odoo,Elico-Corp/odoo_OCB,ygol/odoo,tvtsoft/odoo8,tvtsoft/odoo8,optima-ict/odoo,hip-odoo/odoo,optima-ict/odoo,tvtsoft/odoo8,sysadminmatmoz/OCB,stephen144/odoo,stephen144/odoo,laslabs/odoo,storm-computers/odoo,stephen144/odoo,dfang/odoo,mkieszek/odoo