Browse Source

[imp] mail_digest: related state is readonly

pull/187/head
Simone Orsi 7 years ago
parent
commit
f283610981
  1. 2
      mail_digest/models/mail_digest.py

2
mail_digest/models/mail_digest.py

@ -39,7 +39,7 @@ class MailDigest(models.Model):
'Mail',
ondelete='set null',
)
state = fields.Selection(related='mail_id.state')
state = fields.Selection(related='mail_id.state', readonly=True)
template_id = fields.Many2one(
'ir.ui.view',
'Qweb mail template',

Loading…
Cancel
Save