Add 'website' on partner display

This commit is contained in:
Alexis de Lattre
2017-01-04 18:52:29 +01:00
parent 9fdbebc591
commit da5d35b8cb

View File

@@ -101,6 +101,12 @@ class ResPartner(models.Model):
'icon': u'\u2709',
'label': _('E-mail:'),
},
'website': {
'value': self.website,
# http://www.fileformat.info/info/unicode/char/1f310/index.htm
'icon': u'\U0001f310',
'label': _('Website:'),
},
'address': {
'value': self._display_address(without_company=True),
}