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

Module: Invoicing

Entity: account.group

Compute Method: _compute_code_prefix_start

View 18.0
Inputs Method Outputs
  • code_prefix_start
  • code_prefix_end
- for group in self:
-             if not group.code_prefix_start or (group.code_prefix_end and group.code_prefix_start > group.code_prefix_end):
-                 group.code_prefix_start = group.code_prefix_end
  • code_prefix_start

Back to entity