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

Module: Sales - Project

Entity: account.analytic.line

Compute Method: _compute_category_report

Inputs Method Outputs
for line in self:
            if line.billable_type in REVENUE_BILLABLE_TYPES:
                line.category_report = 'revenues'
            else:
                line.category_report = 'costs'

Back to entity