Files
centurion_erp/.github/ISSUE_TEMPLATE/new_model.md
2025-02-18 04:12:30 +09:30

2.3 KiB

name, about, title, type, labels
name about title type labels
New Database Model Use when creating a new database model. New Model - <model table name> Task task::feature, triage, type::task

📝 Details

🚧 Tasks

  • 🆕 Model Created

  • 🛠️ Migrations added

  • 🏷️ Model tag added to app/core/lib/slash_commands/linked_model.CommandLinkedModel.get_model() function

    • Tag updated in the docs

Note

Ensure that when creating the tag the following is adhered to:

  • Two words are not to contain a space char, \s. It is to be replaced with an underscore _
  • As much as practical, keep the tag as close to the model name as possible
  • 📝 New History model created

  • 📓 New Notes model created

  • Admin Documentation added/updated if applicable

  • Developer Documentation added/updated if applicable

  • User Documentation added/updated


🧪 Tests

  • Unit Test Model
  • Unit Test Serializer
  • Unit Test Tenancy Object
  • Unit Test ViewSet
  • Function Test ViewSet
  • Function Test API Metadata
  • Function Test API Permissions
  • Function Test API Render (fields)
  • Function Test History Entries

Requirements

A Requirement is a must have. In addition will also be tested.