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
| Inputs | Method | Outputs |
|---|---|---|
|
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'))
|
|
