To display your company code with `name_get()` just 
write this in your custom code according to your model


```python

class ResPartner(models.Model):
    _inherit = 'res.partner'

    def name_get(self):
        return self.env['res.company']._add_company_code(super())

```
