migrate res_partner.py classes to new API
migrate res_partner.py classes to new API

rvalyi/l10n-brazil,thinkopensolutions/l10n-brazil,thinkopensolutions/l10n-brazil,odoo-brazil/l10n-brazil-wip,rvalyi/l10n-brazil,odoo-brazil/l10n-brazil-wip