migrate purchase some methods to new api
migrate purchase some methods to new api

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