This is a temporary fix, I need more time to check the issue. bzr revid: fme@openerp.com-20130219181519-a1zdkr2y8a43dqgb