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

Module: Invoicing

Entity: account.journal

Compute Method: _compute_has_unhashed_entries

View 18.0
Inputs Method Outputs
  • restrict_mode_hash_table
+ for journal in self:
+             if journal.restrict_mode_hash_table:
+                 journal.has_unhashed_entries = journal._get_moves_to_hash(include_pre_last_hash=False, early_stop=True)
+             else:
+                 journal.has_unhashed_entries = False
  • has_unhashed_entries

Back to entity