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

Module: Account Lock To Date

Entity: account.lock_exception

Compute Method: _compute_lock_dates

Inputs Method Outputs
res = super()._compute_lock_dates()
for exception in self:
            for field in SOFT_LOCK_TO_DATE_FIELDS:
                if field == exception.lock_date_field:
                    exception[field] = exception.lock_date
                else:
                    exception[field] = False
return res

Back to entity