summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message.py
diff options
context:
space:
mode:
authorThanh Dodeur <tso@odoo.com>2019-04-05 08:11:26 +0000
committerThanh Dodeur <tso@odoo.com>2019-06-05 09:12:13 +0000
commitc212cfe8992292f57acacd809de26e1817533095 (patch)
tree4ab6e06aa7e9e74087bc81fac2047b7c113ea941 /addons/mail/wizard/mail_compose_message.py
parentd6847bacb1d2425466003985f9e96837f22c2148 (diff)
[REF] *: removes datas_fname from ir.attachment
This commit removes the field `datas_fname` from `ir.attachment` as it was unnecessary and most of the time the duplicate of `name` or `url`. Task #1909865 closes odoo/odoo#32976 Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
-rw-r--r--addons/mail/wizard/mail_compose_message.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py
index 1d54406b086..ba65f787257 100644
--- a/addons/mail/wizard/mail_compose_message.py
+++ b/addons/mail/wizard/mail_compose_message.py
@@ -415,7 +415,6 @@ class MailComposer(models.TransientModel):
data_attach = {
'name': attach_fname,
'datas': attach_datas,
- 'datas_fname': attach_fname,
'res_model': 'mail.compose.message',
'res_id': 0,
'type': 'binary', # override default_type from context, possibly meant for another model!