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

Module: Purchase Alternative

Entity: purchase.order.line

Compute Method: _compute_price_total_cc

View 20.0
Inputs Method Outputs
  • price_subtotal
  • order_id
  • order_id.currency_rate
+ for line in self:
+             line.price_total_cc = line.price_subtotal / line.order_id.currency_rate
  • price_total_cc

Back to entity