[IMP] base: Rename res.partner _description from 'Partner' to 'Contact'

Purpose
=======

When using Studio and adding a many2one field for example, it will be easier for a non technical user to find the model res.partner under the name "Contacts" than under the name "Partners".
This commit is contained in:
Pratima Gupta
2017-03-06 10:46:45 +01:00
committed by Yannick Tivisse
parent 4ce5054457
commit 8c522750c8
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -200,7 +200,6 @@ class AccountFiscalPositionAccount(models.Model):
class ResPartner(models.Model):
_name = 'res.partner'
_inherit = 'res.partner'
_description = 'Partner'
@api.multi
def _credit_debit_get(self):
+1 -1
View File
@@ -127,7 +127,7 @@ class PartnerTitle(models.Model):
_sql_constraints = [('name_uniq', 'unique (name)', "Title name already exists !")]
class Partner(models.Model):
_description = 'Partner'
_description = 'Contact'
_inherit = ['format.address.mixin']
_name = "res.partner"
_order = "display_name"