[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:
committed by
Yannick Tivisse
parent
4ce5054457
commit
8c522750c8
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user