Fix pylint

rebased https://github.com/OCA/partner-contact/pull/51  on top of 7.0 branch, fixed the 2 remaining pylint warnings.