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

Module: Stock Cycle Count

Entity: stock.cycle.count

Compute Method: _compute_date_deadline

Inputs Method Outputs
for rec in self:
            if rec.manual_deadline_date:
                rec.date_deadline = rec.manual_deadline_date
            else:
                rec.date_deadline = rec.automatic_deadline_date

Back to entity