Browse Source

[imp] mail_digest: related state is readonly

pull/228/head
Simone Orsi 7 years ago
committed by Holger Brunn
parent
commit
4d21acd232
  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