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

Module: Test API

Entity: test_new_api.modified.line

Compute Method: _compute_total_quantity

View 17.0
Inputs Method Outputs
  • child_ids
  • price
- for rec in self:
-             rec.total_price = sum(rec.child_ids.mapped('total_price')) + rec.price
  • total_price

Back to entity