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_current_journal

Inputs Method Outputs
for check in self:
            last_operation = check._get_last_operation()
            if last_operation and last_operation.payment_type == 'inbound':
                check.current_journal_id = last_operation.journal_id
            else:
                check.current_journal_id = False

Back to entity