mirror of https://github.com/OCA/social.git
[imp] mail_digest: related state is readonly
parent
1d785b42f4
commit
4d21acd232
|
@ -39,7 +39,7 @@ class MailDigest(models.Model):
|
||||||
'Mail',
|
'Mail',
|
||||||
ondelete='set null',
|
ondelete='set null',
|
||||||
)
|
)
|
||||||
state = fields.Selection(related='mail_id.state')
|
state = fields.Selection(related='mail_id.state', readonly=True)
|
||||||
template_id = fields.Many2one(
|
template_id = fields.Many2one(
|
||||||
'ir.ui.view',
|
'ir.ui.view',
|
||||||
'Qweb mail template',
|
'Qweb mail template',
|
||||||
|
|
Loading…
Reference in New Issue