Skip to main content

Product Module

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.

  • 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.

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

  • Active, allow to disable a product.

The Product model extend the Product Template with two fields: Code and Description.

Configuration

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

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

Release files for trytond-product 5.2.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.2.1
File Size Uploaded Provenance Actions
trytond_product-5.2.1.tar.gz 67.1 kB Without provenance Details for trytond_product-5.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 157.4 kB

Release files / trytond_product-5.2.1.tar.gz

Download URL trytond_product-5.2.1.tar.gz
Size 67.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d3a4ae1e5f48bd6202e1973951f573af98d1d967b0b3fa6f77423fdc37cb4b49
BLAKE2b-256 checksum
How to use checksums
d1f6b6353ad622675a763df2275cbc2562f57985282862c3dd452b562805baf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/2.7.15

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

Download URL trytond_product-5.2.1-py3-none-any.whl
Size 90.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e6e2c84cf5907eb64be46f3c7fbf98b2d9e66d67fb58f667170cd13f81be846
BLAKE2b-256 checksum
How to use checksums
12e5ae847d4c23fbb79db6d0e524b2650f08de1f863385e06d529c96aba9a059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/2.7.15

Security for trytond-product 5.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.2.1 This release

2 release files No provenance

1.8.0

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