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

Module: Greece - myDATA

Entity: account.move

Compute Method: _compute_l10n_gr_edi_alerts

Inputs Method Outputs
for move in self:
            # Warnings are only calculated when the move state is posted.
            # We use `._origin` to make sure the validated move have all the needed data for validation.
            if move._l10n_gr_edi_eligible_for_mydata():
                move.l10n_gr_edi_alerts = move._origin._l10n_gr_edi_get_pre_error_dict()
            else:
                move.l10n_gr_edi_alerts = False

Back to entity