lp bug: https://launchpad.net/bugs/651999 fixed bzr revid: jvo@tinyerp.com-20101006180432-mkaqstcuvakci7hq