lp bug: https://launchpad.net/bugs/599078 fixed bzr revid: jvo@tinyerp.com-20100909140631-cn46925d5nxrblxz