lp bug: https://launchpad.net/bugs/666367 fixed bzr revid: jvo@tinyerp.com-20101102141807-o8szqi6fn9q1pfms