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_end

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

Back to entity