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

Module: Project

Entity: project.project

Compute Method: _compute_currency_id

Inputs Method Outputs
default_currency_id = self.env.company.currency_id
for project in self:
            project.currency_id = project.company_id.currency_id or default_currency_id

Back to entity