这是indexloc提供的服务,不要输入任何密码
Skip to content

[18.0] l10n_it_delivery_note: download of report fails with lots #4844

@blackne0n

Description

@blackne0n

Module

l10n_it_delivery_note

Describe the bug

The report download action results in an error. (probably because qty_done doesn’t exist, should be using quantity)

Results in error: AttributeError: 'stock.move.line' object has no attribute 'qty_done'

lines 307-311 of the report
.

To Reproduce

Affected versions: 18.0

Steps to reproduce the behavior:

  1. Create a product with lots
  2. Create a sales order/picking
  3. Create a DDT for the picking
  4. Attempt to download the DDT report

Expected behavior
Expect to download a PDF DDT report (Creation of the ddt is fine, report isn’t)

Additional context
iOS, macOS. Linux Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions