Create a custom module
See the built-in reference for the definition fields and available built-ins.
Declare a top-level module
Expose this class from your app’s modules package so Bloomerp discovers it on startup.
python
from bloomerp.modules.definition import BloomerpModule
class DispatchModule(BloomerpModule):
'''Group dispatch models and workspace layouts.'''
id = "dispatch"
code = "DSP"
name = "Dispatch"
description = "Manage outgoing deliveries."Nest a module under File Management
Set the parent to the built-in file module’s registered ID. The registry resolves the child’s full ID from the parent and local ID.
python
from bloomerp.modules.definition import BloomerpModule
class ArchiveModule(BloomerpModule):
'''Organize archival tools under File Management.'''
id = "archive"
code = "ARC"
name = "Archive"
description = "Work with archived files."
parent_module_id = "files"