Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Inventory

Entity: product.template

Compute Method: _compute_serial_prefix_format

View 19.0
Inputs Method Outputs
  • lot_sequence_id
  • lot_sequence_id.prefix
+ for template in self:
+             template.serial_prefix_format = template.lot_sequence_id.prefix or ""
  • serial_prefix_format

Back to entity