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

Module: Task Logs

Entity: project.project

Compute Method: _compute_allow_timesheets

Inputs Method Outputs
without_account = self.filtered(lambda t: t._origin and not t.account_id)
without_account.update({'allow_timesheets': False})

Back to entity