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

Module: Purchase Work Acceptance

Entity: work.acceptance.line

Compute Method: _compute_amount

View 18.0
Inputs Method Outputs
  • product_qty
  • price_unit
- for line in self:
-             line.price_subtotal = line.product_qty * line.price_unit
  • price_subtotal

Back to entity