Skip to main content

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.

  • 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 files for trytond-product 5.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trytond-product 5.6.3
File Size Uploaded
trytond_product-5.6.3.tar.gz 75.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trytond-product 5.6.3
File Interpreter ABI Platform
trytond_product-5.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 204.0 kB

Release files / trytond_product-5.6.3.tar.gz

Download URL trytond_product-5.6.3.tar.gz
Size 75.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d3e7299fbac14ec476189d52d74e79c6e1326bf059cb9864a361cb9e7f3bd3a9
BLAKE2b-256 checksum
How to use checksums
f5c326a18b0971f05c5aed6230777cf59a375234b4ea938c88d21e0e493576d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / trytond_product-5.6.3-py3-none-any.whl

Download URL trytond_product-5.6.3-py3-none-any.whl
Size 128.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a655aa197689c8337478c5b253414bc2314dfd4077f5972a9dbddcec5aa495b4
BLAKE2b-256 checksum
How to use checksums
b21b2f6a61b67b83bfd8ca7dced20f7e5e819a3816c13582763c89e7d414ac6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

8.2.0

2 release files

8.0.2

2 release files

8.0.1

2 release files

8.0.0

2 release files

7.8.4

2 release files

7.8.3

2 release files

7.8.2

2 release files

7.8.1

2 release files

7.8.0

2 release files

7.6.4

2 release files

7.6.3

2 release files

7.6.2

2 release files

7.6.1

2 release files

7.6.0

2 release files

7.4.2

2 release files

7.4.1

2 release files

7.4.0

2 release files

7.2.2

2 release files

7.2.1

2 release files

7.2.0

2 release files

7.0.6

2 release files

7.0.5

2 release files

7.0.4

2 release files

7.0.3

2 release files

7.0.2

2 release files

7.0.1

2 release files

7.0.0

2 release files

6.8.1

2 release files

6.8.0

2 release files

6.6.1

2 release files

6.6.0

2 release files

6.4.2

2 release files

6.4.1

2 release files

6.4.0

2 release files

6.2.0

2 release files

6.0.6

2 release files

6.0.5

2 release files

6.0.4

2 release files

6.0.3

2 release files

6.0.2

2 release files

6.0.1

2 release files

6.0.0

2 release files

5.8.5

2 release files

5.8.4

2 release files

5.8.3

2 release files

5.8.2

2 release files

5.8.1

2 release files

5.8.0

2 release files

This release

5.6.3 This release

2 release files

5.6.2

2 release files

5.6.1

2 release files

5.6.0

2 release files

5.4.2

2 release files

5.4.1

2 release files

5.4.0

2 release files

5.2.4

2 release files

5.2.3

2 release files

5.2.2

2 release files

5.2.1

2 release files

5.2.0

2 release files

5.0.5

2 release files

5.0.4

2 release files

5.0.3

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.8.2

3 release files

4.8.1

3 release files

4.8.0

3 release files

4.6.1

3 release files

4.6.0

3 release files

4.4.3

3 release files

4.4.2

3 release files

4.4.1

3 release files

4.4.0

3 release files

4.2.2

3 release files

4.2.1

3 release files

4.2.0

3 release files

4.0.4

3 release files

4.0.3

3 release files

4.0.2

3 release files

4.0.1

1 release file

4.0.0

1 release file

3.8.0

1 release file

3.6.1

1 release file

3.6.0

1 release file

3.4.2

1 release file

3.4.1

1 release file

3.4.0

1 release file

3.2.2

1 release file

3.2.1

1 release file

3.2.0

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0.0

1 release file

2.8.4

1 release file

2.8.3

1 release file

2.8.2

1 release file

2.8.1

1 release file

2.8.0

1 release file

2.6.3

1 release file

2.6.2

1 release file

2.6.1

1 release file

2.6.0

1 release file

2.4.3

1 release file

2.4.2

1 release file

2.4.1

1 release file

2.4.0

1 release file

2.2.4

1 release file

2.2.3

1 release file

2.2.2

1 release file

2.2.1

1 release file

2.2.0

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.8.1

1 release file

1.8.0

1.6.2

1 release file

1.6.1

1.6.0

1.4.2

1.4.1

1.4.0

1.2.2

1.2.1

1.2.0

1.0.2

1.0.1

1.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page