Skip to content

Poter aprire una distinta RiBa quando la fattura collegata è stata eliminata #3814

@SirAionTech

Description

@SirAionTech

Module

l10n_it_riba

Describe the bug

Provando ad aprire la distinta RiBa si ottiene:

  ...
  File "/mnt/data/odoo-addons-dir/l10n_it_riba/models/riba.py", line 225, in _compute_line_values
      ).strftime("%d/%m/%Y")
  AttributeError: 'NoneType' object has no attribute 'strftime'

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Creare una fattura con RiBa
  2. Confermare la fattura
  3. Emettere la RiBa
  4. Riportare in bozza la fattura
  5. Eliminare la fattura
  6. Aprire la RiBa

Expected behavior
Nessun errore

Metadata

Metadata

Assignees

No one assigned

    Labels

    14.0bugneeds portingThis issue has already been resolved for some versionno staleUse this label to prevent the automated stale action from closing this PR/Issue.triaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions