lp bug: https://launchpad.net/bugs/516965 fixed bzr revid: jvo@tinyerp.com-20100512065331-2kwk9yprxxkv70ba