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

Module: France - E-Invoicing (Approved Platform)

Entity: l10n.fr.pdp.reports.flow

Compute Method: _compute_move_ids

View 19.0 View 20.0
Inputs Method Outputs
  • move_ids
for flow in self:
            flow.move_ids = flow._get_moves()
-             flow.error_moves_count = sum(move.l10n_fr_pdp_status == 'error' for move in flow.move_ids)
+             flow.error_moves_count = sum(flow.move_ids.mapped('l10n_fr_pdp_has_error'))
  • move_ids
  • error_moves_count

Back to entity