[FIX]sale_stock: do not raise if not able to find any warehouse (for the get default...
authorDenis Ledoux <dle@openerp.com>
Tue, 3 Dec 2013 09:55:44 +0000 (10:55 +0100)
committerDenis Ledoux <dle@openerp.com>
Tue, 3 Dec 2013 09:55:44 +0000 (10:55 +0100)
commit64c0ff21d5b6810d42b2fcabf6553147ff0aa55f
treef87bfc7305504ae4930e4fd1434f841193533dd3
parentda6fee2ac14ece790bf0610c226dee72bf292acb
[FIX]sale_stock: do not raise if not able to find any warehouse (for the get default warehouse), it can prevent the user of doing anything (if he does an upgrade of sale_stock module while having no warehouse set, the user will not be able to sign in in his instance again).

bzr revid: dle@openerp.com-20131203095544-i5vmow007dgjbiza
addons/sale_stock/sale_stock.py