API Reference#

Price#

trytond.modules.product.price_digits#

A tuple containing the digits to use to store unit prices.

trytond.modules.product.round_price(value[, rounding])#

Round the value following rounding to be stored as unit price.

Units of Measure conversion#

trytond.modules.product.uom_conversion_digits#

A tuple containing the digits to use to store conversion rates or factors.

Product Deactivatable#

class trytond.modules.product.TemplateDeactivatableMixin#

A DeactivableMixin that includes the soft deletion state of the template record for record soft deletion.

class trytond.modules.product.ProductDeactivatableMixin#

A TemplateDeactivatableMixin that includes the soft deletion state of the product record for record soft deletion.