[FIX] partner_profile: prevent sync between profiles' name
The names in the different profiles must be synchronised only at the creation. And if the name of one profile is modified, the others must keep their own name.
This commit is contained in:
@@ -167,6 +167,11 @@ class res_partner(models.Model):
|
||||
partner.create(values)
|
||||
partner._compute_public_profile_id()
|
||||
|
||||
def _contact_fields(self):
|
||||
""" Returns the list of contact fields that are synced from the parent
|
||||
when a partner is attached to him. """
|
||||
return ['title']
|
||||
|
||||
##################################################################################
|
||||
## Planned actions
|
||||
##################################################################################
|
||||
|
Reference in New Issue
Block a user