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

Module: DDMRP Adjustment

Entity: stock.buffer

Compute Method: _compute_zaf_text

Inputs Method Outputs
for rec in self:
            rec.rzaf_text = "RZAF: *" + str(round(rec.rzaf_applied, 2))
            rec.yzaf_text = "YZAF: *" + str(round(rec.yzaf_applied, 2))
            rec.gzaf_text = "GZAF: *" + str(round(rec.gzaf_applied, 2))

Back to entity