Review: Disapprove
Sorry, this does not seem like a valid approach.

Firstly, we should not rely on anything coming from the client side to solve a 
server-side issue, as OpenERP is supposed to be stateless.
Secondly, calling exposing a way to close_db has major and global effects on 
the server, impacting all current transactions on that database, so this 
certainly cannot be called as soon as someone logs out. 

Managing database connections is the responsibility of the server, it must not 
be exposed to clients, or for that matter, to addons.
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-opw-6168-ach/+merge/65292
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/6.0-opw-6168-ach.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to