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: res.company

Compute Method: _compute_has_ledger

View 20.0
Inputs Method Outputs
+ self.has_ledger = bool(self.env['account.journal.group'].search_count(
+             domain=[],
+             limit=1,
+         ))
  • has_ledger

Back to entity