Giter VIP home page Giter VIP logo

gestor's Introduction

Gestor

This is a custom ERP for a small trailer repair business.

Models

Utils

This application includes two abstract models for Transaction and Category. The Order model is common to Inventory and Services. Orders can be of type purchase or sell.

Utils UML diagram

Inventory

The main model in this application is the Product which can be either a part or a consumable that can be stored and counted. The Unit model allows to store, buy and sell products in different measurement unit, handling automatically the unit conversion. Units are divided into magnitudes (Quantity), such as mass, distance etc. The base unit for conversion is always from the ISU.

The ProductCategory is used for filtering in the user interface. The ProductTransaction represents the purchase of service transaction within a given Order. There can be several PriceReference for a product, holding the link and price reference from and online store.

The ProductKit storage a set of products and services that are usually included together in service orders. The KitElement creates a link between a Product and the ProductKit it belongs to. The KitService creates a link between a Service and the ProductKit it belongs to.

Inventory UML diagram

Services

The main model in this application is the Service, which includes a description and a suggested price for a given labor. The ServiceCategory is used for filtering in the user interface. The ServiceTransaction represents a particular labor included in a service Order.

Each Order has one or several Payment associated when completed. PaymentCategory divides payments into payment methods.

The PendingPayment accounts the debt payment for a given client.

The Expense model accounts for the Third Party Services required for the given service Order.

Services UML diagram

Users

The UserProfile adds the avatar image and the phone number to the standard django user model. This model stores the information of the users that can access into the system: Admins or Mechanistic.

An Associated can be either a client or a provider. Service orders can be issued to a client or a Company. The abstract model Contact defines the fields that are common to Company and Associated. Purchase orders are linked always to a provider*.

Users UML diagram

Equipment

The Equipment model is the abstract model that defines the field that are common to Vehicles (mostly trucks) and Trailers. Equipment can be linked into service orders but it is not required.

Equipment UML diagram

Costs

The Cost model is the main model in this application. Costs are discounted to compute the profit in a period. The CostCategory is used for filtering in the user interface.

Costs UML diagram

Complete scheme

This is a complete representation of the models and their relations.

Models UML diagram

gestor's People

Contributors

vladimir1284 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.