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. 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 files for trytond-product 5.8.1

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.8.1
File Size Uploaded
trytond_product-5.8.1.tar.gz 81.4 kB Details

Built distribution (wheel)

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

Total release size: 214.3 kB

Release files / trytond_product-5.8.1.tar.gz

Download URL trytond_product-5.8.1.tar.gz
Size 81.4 kB
Tags Source
SHA-256 checksum
How to use checksums
824532bcc6945475fb1417300c367b654b02af44e9af131e97bc652fefb32874
BLAKE2b-256 checksum
How to use checksums
ccc14fb793d31b05b6ff7d20c7e3bc278afc20c99753008abf2db6c612f980cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

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

Download URL trytond_product-5.8.1-py3-none-any.whl
Size 132.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7052609a7d583d3a525d661c964850d7d67eda0427476b7e32b37ed9e906cef2
BLAKE2b-256 checksum
How to use checksums
6568d8c6e9539621765e3157555945df4437132633f6914c46c93f61349f8219
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

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

This release

5.8.1 This release

2 release files

5.8.0

2 release files

5.6.3

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