diff options
| author | Thanh Dodeur <tso@odoo.com> | 2019-04-05 08:11:26 +0000 |
|---|---|---|
| committer | Thanh Dodeur <tso@odoo.com> | 2019-06-05 09:12:13 +0000 |
| commit | c212cfe8992292f57acacd809de26e1817533095 (patch) | |
| tree | 4ab6e06aa7e9e74087bc81fac2047b7c113ea941 /addons/test_mail/tests/test_performance.py | |
| parent | d6847bacb1d2425466003985f9e96837f22c2148 (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/test_mail/tests/test_performance.py')
| -rw-r--r-- | addons/test_mail/tests/test_performance.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/test_mail/tests/test_performance.py b/addons/test_mail/tests/test_performance.py index cb2300a6df3..de2e4321cc9 100644 --- a/addons/test_mail/tests/test_performance.py +++ b/addons/test_mail/tests/test_performance.py @@ -728,8 +728,7 @@ class TestMailPerformancePost(TransactionCase): }) self.vals = [{ 'datas': base64.b64encode(bytes("attachement content %s" % i, 'utf-8')), - 'name': 'attach %s' % i, - 'datas_fname': 'fileText_test%s.txt' % i, + 'name': 'fileText_test%s.txt' % i, 'mimetype': 'text/plain', 'res_model': 'mail.compose.message', 'res_id': 0, |
