API Reference#
Price#
- trytond.modules.product.price_digits#
A
tuplecontaining the digits to use to store unit prices.
- trytond.modules.product.round_price(value[, rounding])#
Round the value following
roundingto be stored as unit price.
Units of Measure conversion#
- trytond.modules.product.uom_conversion_digits#
A
tuplecontaining the digits to use to store conversion rates or factors.
Product Deactivatable#
- class trytond.modules.product.TemplateDeactivatableMixin#
A
DeactivableMixinthat includes the soft deletion state of thetemplaterecord for record soft deletion.
- class trytond.modules.product.ProductDeactivatableMixin#
A
TemplateDeactivatableMixinthat includes the soft deletion state of theproductrecord for record soft deletion.