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

Module: Third Party and Deferred/Electronic Checks Management

Entity: l10n_latam.check

Compute Method: _compute_on_hand

View 20.0
Inputs Method Outputs
  • current_journal_id
  • current_journal_id.type
+ """ A check is on hand when its current journal is of type cash.
+         Note 1: If it's in a journal of type 'bank' it was deposited already, and is no longer on hand.
+         Note 2: It relies on current_journal_id that is computed on *confirmed* payments.
+         """
+ for check in self:
+             check.on_hand = check.current_journal_id.type == 'cash'
  • on_hand

Back to entity