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

Module: Purchase

Entity: purchase.bill.line.match

Compute Method: _compute_amount_untaxed_fields

View 20.0
Inputs Method Outputs
  • account_move_id
  • line_amount_untaxed
  • purchase_order_id
+ for line in self:
+             line.billed_amount_untaxed = line.line_amount_untaxed if line.account_move_id else False
+             line.purchase_amount_untaxed = line.line_amount_untaxed if line.purchase_order_id else False
  • billed_amount_untaxed
  • purchase_amount_untaxed

Back to entity