Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions trytond/trytond/ir/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,10 @@ def extra_model_data(cls, model_data):
@property
def unique_key(self):
if self.type in {
'report', 'view', 'wizard_button', 'selection'}:
'report', 'view', 'wizard_button', 'selection',
'field', 'help'}:
return (self.name, self.res_id, self.type, self.src)
elif self.type in ('field', 'model', 'help'):
elif self.type == 'model':
return (self.name, self.res_id, self.type)

@classmethod
Expand Down