[FIX] Pylint fixing

Resolviendo errores:
```
sale_documents_comments/models/account.py:29: [W0622(redefined-builtin), AccountInvoice.onchange_partner_id] Redefining built-in 'type'
```
Pasado a la nueva API