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

Module: HR Contract Bonus

Entity: hr.contract

Compute Method: _compute_total_annual_wage_without_bonus

Inputs Method Outputs
  • wage
for contract in self:
            contract.total_annual_wage_without_bonus = round(contract.wage * 12, 2)

Back to entity