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

Module: Account Financial Risk

Entity: res.partner

Compute Method: _compute_date_credit_limit

Inputs Method Outputs
self.filtered(lambda x: x.credit_limit == 0.00).date_credit_limit = False
self.filtered(
            lambda x: x.credit_limit != 0.00
        ).date_credit_limit = datetime.today()

Back to entity