Invoice History - Price History Tab mismatch

Description

When Invoice History is opened from Product Field of Order Line, then in Price History tab are listed records for specified Business Partner and all Products - BUG. It is because validation if BPartner ID is set has precedence over Product ID in Invoice History implementation.

Correct behaviour should be something like:
1. Triggered from BPartner field - display history tab for all products and specified BPartner
2a. Triggered from Product and BPartner is not on doc line (inv.move line) - display history tab for specified product and all BPartners
2b. Triggered from Product and BPartner is on doc line (order line) - display history tab for specified product and all specified BPartner

Environment

None

Attachments

1

Activity

Show:

Carlos Ruiz August 22, 2020 at 8:05 PM

Cannot reproduce.

Tested opening Product Info from Sales Order Line and it worked as expected, Invoice History shows the records from the product.

Cannot Reproduce

Details

Assignee

Reporter

Due date

Priority

Created June 10, 2015 at 9:46 AM
Updated October 2, 2020 at 4:14 PM
Resolved August 22, 2020 at 8:04 PM