Commit 18a5839b authored by Nicolas Delaby's avatar Nicolas Delaby

Extend Data propertysheet to handle size of files


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35211 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b41bee2
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
# Jean-Paul Smets <jp@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
......@@ -43,4 +44,9 @@ class Data:
'type' : 'string',
'default' : 'application/unknown',
'mode' : 'w' },
{ 'id' : 'size',
'description' : 'Size in bytes of the data',
'type' : 'int',
'default' : 0,
'mode' : 'w' },
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment