Skip to main content

Tryton module with products

Project description

The Product module defines the following models: Category of Unit of Measure, Unit of Measure, Product Template, Product and Product Category.

Category of Unit of Measure

A Category of Unit of Measure is simply defined by a name.

Unit of Measure

A Unit of Measure is defined by:

  • Name.

  • Symbol.

  • UOM category.

  • Rate and a Factor (the later is the inverse of the former).

  • Rounding Precision and Display Digits, used to round and display quantities expressed in the given UOM.

  • Active, allow to disable a UOM.

Product category

The Product Category Model is just composed of a name. Product Categories are organised in a tree structure.

Product Template and Product

The product concept in Tryton is composed of two models: Product Template and Product.

The Product Template model contains the following fields:

  • Name.

  • Code, a common prefix for all products. If a sequence is set on product configuration the code will be read-only and filled using the sequence.

  • Type, whose value can be Goods, Assets, Service.

  • Category.

  • List Price, the default sale price expressed in the List Price UOM. product.

  • List Price UOM.

  • Cost Price, the cost for one unit of this product expressed in the Cost Price UOM.

  • Cost Price UOM.

  • Cost Price Method, which can be Fixed or Average. Defines how the cost price should be updated. Fixed means that the cost price stay unchanged. Average means that the cost price is the average cost of all the items that are in stock. It’s default value can be defined on product configuration.

  • Default UOM. The default UOM for this product. Used for example to express stock levels.

  • Active, allow to disable a product.

The Product model extends the Product Template with two fields: Code (aka SKU) and Description. If a sequence is set on product configuration the code will be read-only and will be filled in using the sequence. It’s also possible to define a list of identifiers on product. An identifier is composed by a type and a code. The following types are available:

  • International Article Number (EAN)

  • International Standard Audiovisual Number (ISAN)

  • International Standard Book Number (ISBN)

  • International Standard Identifier for Libraries (ISIL)

  • International Securities Identification Number (ISIN)

  • International Standard Music Number (ISMN)

Configuration

The product module uses the section product to retrieve some parameters:

  • price_decimal: defines the number of decimal digits with which the unit prices are stored. The default value is 4.

  • uom_conversion_decimal: defines the number of decimal digits with which the conversion rates and factors of UoM are stored. The default value is 12.

Release history Release notifications | RSS feed

This version

5.8.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trytond_product-5.8.5.tar.gz (81.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trytond_product-5.8.5-py3-none-any.whl (133.0 kB view details)

Uploaded Python 3

File details

Details for the file trytond_product-5.8.5.tar.gz.

File metadata

  • Download URL: trytond_product-5.8.5.tar.gz
  • Upload date:
  • Size: 81.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for trytond_product-5.8.5.tar.gz
Algorithm Hash digest
SHA256 c5b24ee473887232bceadc056d6a516f8da374ebed26286dcfae694d218598b4
MD5 673d94bad9db709d18fab0baf3528d5f
BLAKE2b-256 af2fd3e3c0797249601be6dc18149ab8b7d01eeed106495505fda6f09eca0e48

See more details on using hashes here.

File details

Details for the file trytond_product-5.8.5-py3-none-any.whl.

File metadata

  • Download URL: trytond_product-5.8.5-py3-none-any.whl
  • Upload date:
  • Size: 133.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for trytond_product-5.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d9bea7f9bbff5891672e44dfd5478cfdc4629f43293e249b86c4c349cb1ce8
MD5 159f3380306f35d365ca7d56f37785cc
BLAKE2b-256 269a18f5effd0c783d763bf33237b098768e40ad05e8d2c44649609a9302585a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page