lp bug: https://launchpad.net/bugs/711778 fixed bzr revid: ksa@tinyerp.co.in-20110215063734-55nlbvn1jqt6yikc