[FIX] ir_attachment: display file size

Many customers wonder "Why does my filestore take so much disk space?".

We display the size of the file (if available) in the
technical list view available under Settings > Technical > Database >
Attachments

opw-2338830

closes odoo/odoo#58267

X-original-commit: 9c1874591e7fc9130cc44559df09e9fdbae4466a
Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
This commit is contained in:
Richard Mathot
2020-09-22 16:28:09 +00:00
parent 44b557777f
commit 071dd1b451
@@ -52,6 +52,7 @@
<field name="res_field"/>
<field name="res_id"/>
<field name="type"/>
<field name="file_size"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="create_uid"/>
<field name="create_date"/>