Update to the new bootstrappable model format
This commit is contained in:
@@ -32,7 +32,14 @@ description = _(u'Base app that handles documents instances.')
|
||||
icon = icon_documents
|
||||
dependencies = ['app_registry', 'icons', 'storage', 'permissions', 'navigation']
|
||||
setup_links = [document_type_setup]
|
||||
bootstrap_models = ['documenttype', 'documenttypefilename']
|
||||
bootstrap_models = [
|
||||
{
|
||||
'name': 'documenttype',
|
||||
},
|
||||
{
|
||||
'name': 'documenttypefilename',
|
||||
}
|
||||
]
|
||||
#AppBackup(app, [ModelBackup(), FileBackup(document_settings.STORAGE_BACKEND)])
|
||||
|
||||
settings = [
|
||||
|
||||
Reference in New Issue
Block a user