Skip to content

Units ​

The Units module manages measurement units (e.g., grams, liters, pieces) used across inventory, recipes, and product definitions. Units are classified by type such as Mass, Volume, Count, or Custom, ensuring consistency in calculations and reporting.

Index Page ​

The Units Index Page displays a list of all measurement units, including their name, symbol, type, and creation/update details.
It provides quick search and filtering to easily locate units.

Filters ​

  • Type: Mass, Volume, Count, Custom
  • From: Filter by start date of creation
  • To: Filter by end date of creation

Actions ​

  • Create Unit – Add a new unit of measurement.
  • Row Actions
    • Edit Unit
    • Delete Unit
  • Bulk Actions
    • Delete selected units

CRUD Attributes ​

AttributeDescriptionRequired
NameTranslatable unit name (e.g., Gram, Liter)✅ Yes
SymbolTranslatable unit symbol (e.g., g, L, pcs)✅ Yes
TypeUnit type (Mass, Volume, Count, Custom)✅ Yes

Create Page ​

When creating a unit, the following fields must be completed:

  • Name (Translation Required): Enter the unit name in different languages if applicable.
  • Symbol (Translation Required): Short code or abbreviation for the unit (e.g., g, ml).
  • Type (Required): Choose from Mass, Volume, Count, or Custom.
  • After saving, the unit becomes available in product creation, ingredient definitions, and reports.

Edit Page ​

The edit page allows updating existing units:

  • Modify Name and Symbol: Adjust translations or correct abbreviations.
  • Change Type: Reassign the unit to a different category if required.
  • Impact Warning: Editing a unit already in use will affect inventory calculations, recipes, and product configurations.

Notes ​

  • Units are a core dependency for inventory and recipe accuracy.
  • Any modification should be carefully considered, especially for units already used in transactions.

Tenvoro