diff --git a/base_usability/models/res_company.py b/base_usability/models/res_company.py index a4ffc7c..15c3ac6 100644 --- a/base_usability/models/res_company.py +++ b/base_usability/models/res_company.py @@ -86,6 +86,13 @@ class ResCompany(models.Model): # 'legal_type' added by base_company_extension if hasattr(self, 'legal_type') and self.legal_type: options['capital']['label'] = _('%s with a capital of') % self.legal_type + # 'fax' added by OCA/partner-contact module 'partner_fax' + if hasattr(self.partner_id, 'fax'): + options['fax'] = { + 'value': self.partner_id.fax or False, + 'icon': '\U0001F5B7', + 'label': _('Fax:'), + } return options def _get_eori(self):