Create From showing matched charge lines (for invoice and receipt)

Description

As reported by at
https://groups.google.com/d/msg/idempiere-es/H_VrT-TIRn8/sxUcIznux0UJ

As there is no matchinv for charges, the create from windows are showing already "matched" charge lines.
This can be reproduced in:

  • invoice vendor > create from > material receipt

  • material receipt > create from > invoice vendor

Test case:

  • Create and complete a purchase order with one productd line and one charge line

  • Create and complete invoice vendor, create lines from the purchase order including both lines

  • Create and complete material receipt, create lines from the invoice vendor including both lines

Now if you try again to create an invoice vendor, the create lines from will show the material receipt, and when selecting it shows the charge line with the already "matched" qty.

Same behavior if you try to create a material receipt from the invoice vendor, it shows the already matched invoice and the qty for the already matched charge.

Environment

None

Activity

Show:
Carlos Ruiz
May 3, 2014, 1:38 AM

Attaching IDEMPIERE-1928_Receipt.patch as a possible patch for the Receipt part for peer review and testing.

It would need similar approach for CreateFromInvoice.

Checking the code of CreateFromShipment and CreateFromInvoice found a trl issue: UOM is translated, but product and charge are not.

Regards,

Carlos Ruiz

Orlando Curieles
August 22, 2020, 7:21 PM

Triaged by - Still Reproducible

Assignee

Unassigned

Reporter

Carlos Ruiz

Labels

Tested By

None

Affects versions

Priority

Minor
Configure