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

Module: Work Entries

Entity: hr.time.rule

Compute Method: _compute_amount_rate

View 20.0
Inputs Method Outputs
  • work_entry_type_id
  • work_entry_type_id.amount_rate
+ for rule in self:
+             rule.amount_rate = rule.work_entry_type_id.amount_rate if rule.work_entry_type_id else 1.0
  • amount_rate

Back to entity