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: project.project

Compute Method: _compute_display_sales_stat_buttons

View 17.0 View 19.0
Inputs Method Outputs
  • allow_billable
  • partner_id
for project in self:
            project.display_sales_stat_buttons = project.allow_billable and project.partner_id
  • display_sales_stat_buttons

Back to entity