[IMP] mass_mailing: use subject as rec name of mailings
As mailings are now using subject as naming field and name is now a technical field used for utm source, let us use the subject as rec_name of the mailing model. LINKS Task ID 2072130 PR: #36935
This commit is contained in:
@@ -45,7 +45,7 @@ class MassMailing(models.Model):
|
||||
_period_number = 6
|
||||
_order = 'sent_date DESC'
|
||||
_inherits = {'utm.source': 'source_id'}
|
||||
_rec_name = "source_id"
|
||||
_rec_name = "subject"
|
||||
|
||||
@api.model
|
||||
def _get_default_mail_server_id(self):
|
||||
|
||||
Reference in New Issue
Block a user