fix: broken source code indentation, refs NOISSUE
This commit is contained in:
@@ -479,10 +479,10 @@ class Partner(models.Model):
|
|||||||
'was never correctly set. If an existing contact starts working for a new '
|
'was never correctly set. If an existing contact starts working for a new '
|
||||||
'company then a new contact should be created under that new '
|
'company then a new contact should be created under that new '
|
||||||
'company. You can use the "Discard" button to abandon this change.')}
|
'company. You can use the "Discard" button to abandon this change.')}
|
||||||
if partner.type == 'contact' or self.type == 'contact':
|
#if partner.type == 'contact' or self.type == 'contact':
|
||||||
# for contacts: copy the parent address, if set (aka, at least one
|
# # for contacts: copy the parent address, if set (aka, at least one
|
||||||
# value is set in the address: otherwise, keep the one from the
|
# # value is set in the address: otherwise, keep the one from the
|
||||||
# contact)
|
# # contact)
|
||||||
# address_fields = self._address_fields()
|
# address_fields = self._address_fields()
|
||||||
# if any(self.parent_id[key] for key in address_fields):
|
# if any(self.parent_id[key] for key in address_fields):
|
||||||
# def convert(value):
|
# def convert(value):
|
||||||
|
|||||||
Reference in New Issue
Block a user