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.

  • 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 history Release notifications | RSS feed

This version

5.2.3

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.2.3.tar.gz (67.3 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.2.3-py3-none-any.whl (100.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trytond_product-5.2.3.tar.gz
  • Upload date:
  • Size: 67.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.9

File hashes

Hashes for trytond_product-5.2.3.tar.gz
Algorithm Hash digest
SHA256 5ab4c386b73a0c40ef195429d6be465abd899efcea91abf059a4718dc1638f9e
MD5 46a1cd4a66b67a0b289a3636cb75b914
BLAKE2b-256 d92e2ee7672e8136dc9da585cb52d5c7e14b82a78da7a329ac0edd384f99a8bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trytond_product-5.2.3-py3-none-any.whl
  • Upload date:
  • Size: 100.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.23.3 CPython/3.6.9

File hashes

Hashes for trytond_product-5.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 407aa8d2e16b702168a314034a5ea1bd75a19807c44682928524737ad89afa0f
MD5 b9dca754d732b4356a3962b95dd3752b
BLAKE2b-256 77aebe43825deed961ca5b40c69ff0ec66c47f8f9718813806f366cd376d36bd

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