Allow to modify pre-defined model access

This commit is contained in:
Cédric Krier committed 2008-08-18 11:39:25 +02:00
1 parent f2730c265b
commit 80c5cc278d
1 file changed
+3
+3
View File
@@ -92,6 +92,9 @@ class ModelAccess(OSV):
'delete': 'You can not delete this document! (%s)',
})
def check_xml_record(self, cursor, user, ids, values, context=None):
return True
def default_perm_read(self, cursor, user, context=None):
return False