Skip to content

account_invoice_report_grouped_by_picking: for bom invoiced products, the product is counted X times #388

@therbin200

Description

@therbin200

Module

account_invoice_report_grouped_by_picking

Describe the bug

When we invoice a bom product, it's counted as many times as we have components in the bom (at least with the phantom type)

To Reproduce

17.0, but possibly others too (tests have been processed on 17.0):

Steps to reproduce the behavior:

  1. Create a Sale Order with a bom product with the bom type phantom
  2. Confirm the delivery
  3. Invoice the sale order

Expected behavior
The invoice report must include one time the finished product, not count it as many times as there is components in his bom in the delivery

Additional context
/

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