FIX company_code: records with company_id is False
This commit is contained in:
@@ -35,11 +35,13 @@ write this code in your custom code according your model
|
||||
|
||||
|
||||
```python
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
def name_get(self):
|
||||
return self.env['res.company']._add_company_code(super())
|
||||
|
||||
```
|
||||
|
||||
Bug Tracker
|
||||
|
||||
Reference in New Issue
Block a user