[FIX] if an action descriptor is precisely ``false``, treat it as an ir_action_close...
authorXavier Morel <xmo@openerp.com>
Thu, 29 Nov 2012 10:11:37 +0000 (11:11 +0100)
committerXavier Morel <xmo@openerp.com>
Thu, 29 Nov 2012 10:11:37 +0000 (11:11 +0100)
commitbf29cecca3d412add5d764137835a5028de44c95
treefe9da51d48721fe5d44214f763f837458adec41f
parent968837ac97b8857156370e281d7e56fecf920223
[FIX] if an action descriptor is precisely ``false``, treat it as an ir_action_close                                                                                   ~/projects/tiny/web/current

Can be seen in e.g. Quotations > [More sidebar] > Sale: Mark Unread:
it's a server action which just returns ``False``, the handler
resulted in a noop but also produced an error message in the browser
console ("No type for action false").

Convert ``false`` (identity-tested) into an ir_action_close in
do_action, before actually mucking into the action descriptor.

bzr revid: xmo@openerp.com-20121129101137-g01nd49hnlg2odfs
addons/web/static/src/js/views.js