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

Module: Croatia - e-invoicing

Entity: res.company

Compute Method: _compute_l10n_hr_mojeracun_state

Inputs Method Outputs
for company in self:
            if any(not field for field in [
                company.l10n_hr_mer_username,
                company.l10n_hr_mer_password,
            ]):
                company.l10n_hr_mer_connection_state = 'inactive'

Back to entity