parent
5c8eec43bd
commit
2e7c217497
|
@ -143,8 +143,8 @@ class document_file(osv.osv):
|
|||
|
||||
_defaults = {
|
||||
'user_id': lambda self, cr, uid, ctx:uid,
|
||||
'parent_id': __get_def_directory
|
||||
'file_size': lambda self, cr, uid, ctx:0
|
||||
'parent_id': __get_def_directory,
|
||||
'file_size': lambda self, cr, uid, ctx:0,
|
||||
}
|
||||
_sql_constraints = [
|
||||
# filename_uniq is not possible in pure SQL
|
||||
|
|
Loading…
Reference in New Issue