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

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.0
File Size Uploaded Provenance Actions
trytond_product-5.2.0.tar.gz 67.3 kB Without provenance Details for trytond_product-5.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 156.9 kB

Release files / trytond_product-5.2.0.tar.gz

Download URL trytond_product-5.2.0.tar.gz
Size 67.3 kB
Tags Source
SHA-256 checksum
How to use checksums
639af3cde52e56fc8d93d4cde5011e371c6367718b036da12cd7654153ccfd9b
BLAKE2b-256 checksum
How to use checksums
708e9588cb6fdcd5d829259685c06cad6c4a95d71ddc409c8fc480acb664b58f
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.8.0 tqdm/4.23.3 CPython/2.7.15

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

Download URL trytond_product-5.2.0-py3-none-any.whl
Size 89.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9a29b7d959a16759b67b05772a10517220ecd77fd1e3bcfaae0e3a77cb920e0
BLAKE2b-256 checksum
How to use checksums
90902bcb77b3637258aeac3d048b3ee2cec1a61526f197a0c48cec1a28bacbf8
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.8.0 tqdm/4.23.3 CPython/2.7.15

Security for trytond-product 5.2.0

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