Miscellaneous models
- ActivityLog
- ApplicationField
- Bookmark
- DocumentTemplateStyling
- EmailAuthorizationRequest · Internal
- Form
- FormSubmission
- OAuthAccessToken
- OAuthAuthorizationCode
- Policy
- SavedFilter · Internal
- Sidebar
- SidebarItem
- SignatureArtifact · Internal
- SignatureEvent · Internal
- SignatureLayout · Internal
- SignatureLayoutField · Internal
- SignatureLayoutRole · Internal
- SignaturePreparation · Internal
- SignaturePreparationField · Internal
- SignaturePreparationRole · Internal
- SqlQuery
- Tile
- Tutorial
- TutorialProgress · Internal
- TutorialRevision · Internal
- TutorialStep · Internal
- TutorialTopic
- UserDetailViewTabItem · Internal
- UserDetailViewTabsPreference · Internal
- UserListViewPreference · Internal
- WorkflowEdge
- Workspace
Column and nullable values apply to fields stored on the model's table.
ActivityLog
bloomerp.models.audit.activity_log.ActivityLog
Model to log activities performed by users.
Database table bloomerp_activity_log
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
timestamp | DateTimeField | timestamp | No | — |
actor | ForeignKey to bloomerp.User | actor_id | Yes | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
object_id | CharField | object_id | No | — |
payload | JSONField | payload | Yes | — |
is_create | BooleanField | is_create | No | — |
source | CharField | source | No | — |
action | CharField | action | No | — |
object | GenericForeignKey | — | — | — |
ApplicationField
bloomerp.models.application_field.ApplicationField
An ApplicationField is a model that stores information about fields and attributes in the Django model.
It is used throughout the application to provide metadata about fields, such as their type, related model (if any), and other useful information.
Database table bloomerp_application_field
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
field | CharField | field | No | The name of the field. |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | The content type (model) this field belongs to. |
field_type | CharField | field_type | No | The type of the field. |
related_model | ForeignKey to contenttypes.ContentType | related_model_id | Yes | Related model for ForeignKey, OneToOneField, ManyToManyField |
meta | JSONField | meta | Yes | Additional metadata about the field. |
db_table | CharField | db_table | Yes | The database table this field belongs to. |
db_field_type | CharField | db_field_type | Yes | — |
db_column | CharField | db_column | Yes | — |
advanced_rendering | CodeField | advanced_rendering | Yes | Optional HTML/Django template. Use {{ value }} for the field value. For example: {{ value }}. Leave empty to use the normal field rendering. |
Bookmark
bloomerp.models.users.bookmark.Bookmark
Database table bloomerp_bookmark
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
object_id | CharField | object_id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
object | GenericForeignKey | — | — | — |
DocumentTemplateStyling
bloomerp.models.document_templates.document_template_styling.DocumentTemplateStyling
Database table bloomerp_document_template_styling
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | Name of the document template styling. |
styling | CodeField | styling | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
EmailAuthorizationRequest
bloomerp.models.communication.email_authorization_request.EmailAuthorizationRequest
Internal model
Bind encrypted setup data to one actor, browser, account and callback origin.
Database table bloomerp_email_authorization_request
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
state_digest | CharField | state_digest | No | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
account | ForeignKey to bloomerp.EmailAccount | account_id | Yes | — |
session_digest | CharField | session_digest | No | — |
redirect_uri | URLField | redirect_uri | No | — |
payload | TextField | payload | No | — |
expires_at | DateTimeField | expires_at | No | — |
Form
bloomerp.models.forms.form.Form
Database table bloomerp_form
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
layout | JSONField | layout | No | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | The name of the form |
description | TextField | description | Yes | — |
success_text | TextField | success_text | Yes | Text shown after a successful form submission. |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
initial_payload | JSONField | initial_payload | No | Initial payload for the form |
requires_review | BooleanField | requires_review | No | Whether the form submission needs to be reviewed before it is persisted. |
requires_authentication | BooleanField | requires_authentication | No | Whether the form requires an authenticated user in order to be accessible. |
public_embed_enabled | BooleanField | public_embed_enabled | No | Whether the form can be embedded in a public page. |
max_submissions | IntegerField | max_submissions | Yes | Maximum number of submissions possible for the form |
max_submissions_per_ip | IntegerField | max_submissions_per_ip | Yes | Maximum number of submissions per IP address |
opens_at | DateTimeField | opens_at | Yes | The date and time from which the form will accept submissions. |
closes_at | DateTimeField | closes_at | Yes | The date and time after which the form will no longer accept submissions. |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
FormSubmission
bloomerp.models.forms.form_submission.FormSubmission
Database table bloomerp_formsubmission
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
form | ForeignKey to bloomerp.Form | form_id | Yes | — |
data | JSONField | data | No | — |
persisted | BooleanField | persisted | No | Whether the form was persisted |
ip_address | GenericIPAddressField | ip_address | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
OAuthAccessToken
bloomerp.models.auth.oauth.OAuthAccessToken
Store only a digest of an OAuth bearer token.
Database table bloomerp_oauthaccesstoken
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
token_hash | CharField | token_hash | No | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
client_id | TextField | client_id | No | — |
resource | TextField | resource | No | — |
scope | CharField | scope | No | — |
expires_at | DateTimeField | expires_at | No | — |
revoked_at | DateTimeField | revoked_at | Yes | — |
OAuthAuthorizationCode
bloomerp.models.auth.oauth.OAuthAuthorizationCode
Store a short-lived, single-use authorization code for PKCE exchange.
Database table bloomerp_oauthauthorizationcode
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
code_hash | CharField | code_hash | No | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
client_id | TextField | client_id | No | — |
redirect_uri | TextField | redirect_uri | No | — |
resource | TextField | resource | No | — |
scope | CharField | scope | No | — |
code_challenge | CharField | code_challenge | No | — |
expires_at | DateTimeField | expires_at | No | — |
Policy
bloomerp.models.access_control.policy.Policy
Assigns model, row and field grants to users and groups.
Database table bloomerp_access_control_policy
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | The name of the access control policy. |
description | TextField | description | No | A description of the access control policy. |
system_created | BooleanField | system_created | No | — |
default_policy_key | CharField | default_policy_key | Yes | — |
default_policy_hash | CharField | default_policy_hash | No | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | The model whose access this policy grants. |
content | JSONField | content | No | Model permissions and the row and field grants for this policy. |
users | ManyToManyField to bloomerp.User | — | — | Users assigned to this access control policy. |
groups | ManyToManyField to auth.Group | — | — | Groups assigned to this access control policy. |
SavedFilter
bloomerp.models.filters.filter.SavedFilter
Internal model
A shared preset identified by its model/workspace scope and record ID.
Database table bloomerp_filter
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
filters | JSONField | filters | No | — |
scope | CharField | scope | No | — |
identifier | CharField | identifier | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Sidebar
bloomerp.models.workspaces.sidebar.Sidebar
A named sidebar configuration belonging to a user.
Database table bloomerp_sidebar
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
name | CharField | name | No | Optional name for this preference, for user reference |
user | ForeignKey to bloomerp.User | user_id | No | — |
selected | BooleanField | selected | No | Indicates if this preference is currently selected for the user. Only one preference per user can be selected at a time. |
source_object | ForeignKey to bloomerp.Sidebar | source_object_id | Yes | Reference to the original preference from which this preference was derived. This is used to track the origin of derived preferences. |
initial_default | BooleanField | initial_default | No | Indicates if this preference is the initial default for the user. This is used to determine the user's default preference when they first create an account. |
shared_with_users | ManyToManyField to bloomerp.User | — | — | Users with whom this preference is shared. |
shared_with_groups | ManyToManyField to auth.Group | — | — | Groups with whom this preference is shared. |
SidebarItem
bloomerp.models.workspaces.sidebar_item.SidebarItem
A sidebar item is something that appears in the sidebar. It can be a link to a particular page, or it can be a folder that contains other sidebar items. Each user can have multiple sidebar items, and they can be organized in a hierarchical structure using the parent field.
Database table bloomerp_sidebar_item
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
sidebar | ForeignKey to bloomerp.Sidebar | sidebar_id | No | — |
name | CharField | name | No | Name of the sidebar item. |
icon | IconField | icon | No | Icon for the particular sidebar item. |
url | CharField | url | Yes | URL that the sidebar item points to. |
parent | ForeignKey to bloomerp.SidebarItem | parent_id | Yes | — |
is_folder | BooleanField | is_folder | No | — |
position | PositiveIntegerField | position | No | Position of the sidebar item among its siblings. Lower numbers appear first. |
color | CharField | color | No | Hex color code for the sidebar item (e.g. #FF5733). |
SignatureArtifact
bloomerp.models.document_signing.signature_artifact.SignatureArtifact
Internal model
Retain completion certificates, audit reports, and other signing evidence.
Database table bloomerp_signatureartifact
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
request | ForeignKey to bloomerp.SignatureRequest | request_id | No | — |
recipient | ForeignKey to bloomerp.SignatureRecipient | recipient_id | Yes | — |
file | ForeignKey to bloomerp.FileNode | file_id | No | — |
kind | CharField | kind | No | — |
sha256 | CharField | sha256 | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignatureEvent
bloomerp.models.document_signing.signature_event.SignatureEvent
Internal model
Record a request event without granting it the status of qualified signing.
Database table bloomerp_signatureevent
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
request | ForeignKey to bloomerp.SignatureRequest | request_id | No | — |
recipient | ForeignKey to bloomerp.SignatureRecipient | recipient_id | Yes | — |
event_type | CharField | event_type | No | — |
occurred_at | DateTimeField | occurred_at | No | — |
ip_address | GenericIPAddressField | ip_address | Yes | — |
user_agent | TextField | user_agent | No | — |
payload | JSONField | payload | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignatureLayout
bloomerp.models.document_signing.signature_layout.SignatureLayout
Internal model
Group reusable field placements and signer roles independently of templates.
Database table bloomerp_signaturelayout
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
document_template | ForeignKey to bloomerp.DocumentTemplate | document_template_id | Yes | — |
name | CharField | name | No | — |
revision | PositiveIntegerField | revision | No | — |
preview_file | ForeignKey to bloomerp.FileNode | preview_file_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignatureLayoutField
bloomerp.models.document_signing.signature_layout_field.SignatureLayoutField
Internal model
Describe a field whose definition will be copied into individual requests.
Database table bloomerp_signaturelayoutfield
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
key | SlugField | key | No | — |
field_type | CharField | field_type | No | — |
required | BooleanField | required | No | — |
page_number | PositiveIntegerField | page_number | No | — |
x | DecimalField | x | No | — |
y | DecimalField | y | No | — |
width | DecimalField | width | No | — |
height | DecimalField | height | No | — |
settings | JSONField | settings | No | — |
layout | ForeignKey to bloomerp.SignatureLayout | layout_id | No | — |
role | ForeignKey to bloomerp.SignatureLayoutRole | role_id | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignatureLayoutRole
bloomerp.models.document_signing.signature_layout_role.SignatureLayoutRole
Internal model
Define a domain-neutral role that requests later assign to a real person.
Database table bloomerp_signaturelayoutrole
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
layout | ForeignKey to bloomerp.SignatureLayout | layout_id | No | — |
key | SlugField | key | No | — |
label | CharField | label | No | — |
default_signing_order | PositiveIntegerField | default_signing_order | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignaturePreparation
bloomerp.models.document_signing.signature_preparation.SignaturePreparation
Internal model
Own draft roles and placements without creating a signing request or recipients.
Database table bloomerp_signaturepreparation
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
title | CharField | title | No | — |
revision | PositiveIntegerField | revision | No | — |
original_file | ForeignKey to bloomerp.FileNode | original_file_id | No | — |
source_layout | ForeignKey to bloomerp.SignatureLayout | source_layout_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignaturePreparationField
bloomerp.models.document_signing.signature_preparation_field.SignaturePreparationField
Internal model
Store a role-based placement before a request assigns a concrete recipient.
Database table bloomerp_signaturepreparationfield
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
key | SlugField | key | No | — |
field_type | CharField | field_type | No | — |
required | BooleanField | required | No | — |
page_number | PositiveIntegerField | page_number | No | — |
x | DecimalField | x | No | — |
y | DecimalField | y | No | — |
width | DecimalField | width | No | — |
height | DecimalField | height | No | — |
settings | JSONField | settings | No | — |
preparation | ForeignKey to bloomerp.SignaturePreparation | preparation_id | No | — |
role | ForeignKey to bloomerp.SignaturePreparationRole | role_id | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SignaturePreparationRole
bloomerp.models.document_signing.signature_preparation_role.SignaturePreparationRole
Internal model
Store a role such as Director without knowing the eventual person's identity.
Database table bloomerp_signaturepreparationrole
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
preparation | ForeignKey to bloomerp.SignaturePreparation | preparation_id | No | — |
key | SlugField | key | No | — |
label | CharField | label | No | — |
signing_order | PositiveIntegerField | signing_order | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
SqlQuery
bloomerp.models.workspaces.sql_query.SqlQuery
A model to store SQL queries that can be used in Widgets
Database table sql_query
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
query | CodeField | query | No | SQL Query to execute |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Tile
bloomerp.models.workspaces.tile.Tile
A tile represents a visual item that can be placed on a workspace.
A default tile is one that can be set on models or modules which allow you to create default workspaces.
Database table bloomerp_tile
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | Name of the widget |
description | TextField | description | Yes | Description of the widget |
type | CharField | type | No | The type of tile |
icon | IconField | icon | No | — |
schema | JSONField | schema | No | — |
auto_generated | BooleanField | auto_generated | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Tutorial
bloomerp.models.tutorial.tutorial.Tutorial
A tutorial within the BloomERP app
Keep a stable tutorial identity across content revisions.
Database table bloomerp_tutorial
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
description | TextField | description | No | — |
source_key | CharField | source_key | Yes | Namespaced key for a tutorial supplied by an installed app. |
source_retired | BooleanField | source_retired | No | — |
is_active | BooleanField | is_active | No | — |
available_to_all | BooleanField | available_to_all | No | Make this tutorial available to every signed-in user. |
user_filter | JSONField | user_filter | No | Users in the tutorial audience must also match these conditions. |
required_access | JSONField | required_access | No | Learners must already have these permissions to start this tutorial. |
assigned_users | ManyToManyField to bloomerp.User | — | — | — |
assigned_groups | ManyToManyField to auth.Group | — | — | — |
topics | ManyToManyField to bloomerp.TutorialTopic | — | — | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
TutorialProgress
bloomerp.models.tutorial.tutorial_progress.TutorialProgress
Internal model
Track what a user has seen and where they can resume a revision.
Database table bloomerp_tutorial_progress
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
revision | ForeignKey to bloomerp.TutorialRevision | revision_id | No | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
current_step | ForeignKey to bloomerp.TutorialStep | current_step_id | Yes | — |
first_shown_at | DateTimeField | first_shown_at | Yes | — |
started_at | DateTimeField | started_at | Yes | — |
dismissed_at | DateTimeField | dismissed_at | Yes | — |
completed_at | DateTimeField | completed_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
TutorialRevision
bloomerp.models.tutorial.tutorial_revision.TutorialRevision
Internal model
Version the steps and settings that determine when a tutorial opens.
Database table bloomerp_tutorial_revision
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
tutorial | ForeignKey to bloomerp.Tutorial | tutorial_id | No | — |
number | PositiveIntegerField | number | No | — |
trigger_route | CharField | trigger_route | No | Django URL name for the page where this tutorial is offered. |
auto_start | BooleanField | auto_start | No | — |
published_at | DateTimeField | published_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
TutorialStep
bloomerp.models.tutorial.tutorial_step.TutorialStep
Internal model
Guide the learner through one instruction in a tutorial revision.
Database table bloomerp_tutorial_step
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
revision | ForeignKey to bloomerp.TutorialRevision | revision_id | No | — |
sequence | PositiveIntegerField | sequence | No | — |
key | SlugField | key | No | — |
name | CharField | name | No | — |
text | TextField | text | No | — |
size | CharField | size | No | — |
destination_route | CharField | destination_route | No | Django URL name for the page to open before showing this step. |
destination_kwargs | JSONField | destination_kwargs | No | — |
interaction | JSONField | interaction | No | — |
show_as_tooltip | BooleanField | show_as_tooltip | No | — |
include_backdrop | BooleanField | include_backdrop | No | — |
advance_mode | CharField | advance_mode | No | — |
advance_delay_ms | PositiveIntegerField | advance_delay_ms | No | — |
advance_url_pattern | CharField | advance_url_pattern | No | A local path pattern that triggers navigation-based advancement. |
hide_next_button | BooleanField | hide_next_button | No | — |
is_optional | BooleanField | is_optional | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
TutorialTopic
bloomerp.models.tutorial.tutorial_topic.TutorialTopic
A topic that groups related tutorials
Group related tutorials under an ordered catalog heading.
Database table bloomerp_tutorial_topic
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
source_key | CharField | source_key | Yes | Namespaced key for a topic supplied by an installed app. |
description | TextField | description | No | — |
sequence | PositiveIntegerField | sequence | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
UserDetailViewTabItem
bloomerp.models.users.user_detail_view_tabs_preference.UserDetailViewTabItem
Internal model
A top-level folder when url is null, otherwise a navigable tab.
Database table bloomerp_user_detail_view_tab_item
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
preference | ForeignKey to bloomerp.UserDetailViewTabsPreference | preference_id | No | — |
parent | ForeignKey to bloomerp.UserDetailViewTabItem | parent_id | Yes | — |
name | CharField | name | No | — |
url | CharField | url | Yes | — |
position | PositiveIntegerField | position | No | — |
UserDetailViewTabsPreference
bloomerp.models.users.user_detail_view_tabs_preference.UserDetailViewTabsPreference
Internal model
An ordered detail-tab layout owned or shared through BasePreference.
Database table bloomerp_user_detail_view_tabs_preference
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
name | CharField | name | No | Optional name for this preference, for user reference |
user | ForeignKey to bloomerp.User | user_id | No | — |
selected | BooleanField | selected | No | Indicates if this preference is currently selected for the user. Only one preference per user can be selected at a time. |
source_object | ForeignKey to bloomerp.UserDetailViewTabsPreference | source_object_id | Yes | Reference to the original preference from which this preference was derived. This is used to track the origin of derived preferences. |
initial_default | BooleanField | initial_default | No | Indicates if this preference is the initial default for the user. This is used to determine the user's default preference when they first create an account. |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
shared_with_users | ManyToManyField to bloomerp.User | — | — | Users with whom this preference is shared. |
shared_with_groups | ManyToManyField to auth.Group | — | — | Groups with whom this preference is shared. |
UserListViewPreference
bloomerp.models.users.user_list_view_preference.UserListViewPreference
Internal model
Model that stores the preferences of a user for list views for different content types.
Key concepts:
- Accessible fields: All fields the user has permission to see (based on field-level permissions). These are shown in the display options UI for the user to toggle.
- Visible fields: The subset of accessible fields that the user has chosen to display
for a specific view type. Stored in
display_fieldsJSON.
display_fields structure: { "table": [1, 5, 3], # ApplicationField IDs in display order "kanban": [2, 4], "calendar": [1, 2] }
Database table bloomerp_user_list_view_pref
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
name | CharField | name | No | Optional name for this preference, for user reference |
user | ForeignKey to bloomerp.User | user_id | No | — |
selected | BooleanField | selected | No | Indicates if this preference is currently selected for the user. Only one preference per user can be selected at a time. |
source_object | ForeignKey to bloomerp.UserListViewPreference | source_object_id | Yes | Reference to the original preference from which this preference was derived. This is used to track the origin of derived preferences. |
initial_default | BooleanField | initial_default | No | Indicates if this preference is the initial default for the user. This is used to determine the user's default preference when they first create an account. |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
view_type | CharField | view_type | No | — |
view_mode | CharField | view_mode | No | — |
display_fields | JSONField | display_fields | No | — |
options | JSONField | options | No | — |
default_filters | ManyToManyField to bloomerp.SavedFilter | — | — | — |
shared_with_users | ManyToManyField to bloomerp.User | — | — | Users with whom this preference is shared. |
shared_with_groups | ManyToManyField to auth.Group | — | — | Groups with whom this preference is shared. |
WorkflowEdge
bloomerp.models.automation.workflow_edge.WorkflowEdge
An edge connects two nodes in a workflow. It defines the flow of execution from one node to another.
Database table bloomerp_workflow_edge
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
name | CharField | name | Yes | A descriptive name for the edge. |
from_node | ForeignKey to bloomerp.WorkflowNode | from_node_id | No | The node where this edge starts. |
to_node | ForeignKey to bloomerp.WorkflowNode | to_node_id | No | The node where this edge ends. |
output_port | CharField | output_port | No | The output port on the source node used by this edge. |
Workspace
bloomerp.models.workspaces.workspace.Workspace
A selectable, shareable workspace preference scoped by module.
Database table bloomerp_workspace
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
layout | JSONField | layout | No | — |
name | CharField | name | No | Optional name for this preference, for user reference |
user | ForeignKey to bloomerp.User | user_id | No | — |
selected | BooleanField | selected | No | Indicates if this preference is currently selected for the user. Only one preference per user can be selected at a time. |
source_object | ForeignKey to bloomerp.Workspace | source_object_id | Yes | Reference to the original preference from which this preference was derived. This is used to track the origin of derived preferences. |
initial_default | BooleanField | initial_default | No | Indicates if this preference is the initial default for the user. This is used to determine the user's default preference when they first create an account. |
module_id | CharField | module_id | Yes | — |
default_filters | ManyToManyField to bloomerp.SavedFilter | — | — | — |
shared_with_users | ManyToManyField to bloomerp.User | — | — | Users with whom this preference is shared. |
shared_with_groups | ManyToManyField to auth.Group | — | — | Groups with whom this preference is shared. |
