Our team will make improvements for Item Price with the below features as discussed in this GitHub Issue (Improving upon Item Price · Issue #8456 · frappe/erpnext · GitHub) . We started sending PR for the contribution and even community member help with the coding. We want to push and continue it to merge to the core.
We wanted to achieved Customer/Supplier specific, Quantity and UOM Based Item Prices with Item Prices History feature.
New fields addition:
Supplier (Link:Supplier) [if:buying]
Customer (Link:Customer) [if:selling]
Minimum Qty (Float)
UOM (Link: UOM)
Packing Unit (Int, quantity that must be bought or sold per UOM)
The improved Item Price would already show history of prices based on the Valid From and Valid To dates. A validation will be prepared to not allow duplicates or overlap of the validity dates with the same Pricelist, Customer, QTY and UOM. We can add a report to view Item Price History better.
I think you could overwrite Item Price and before_save store it on history price …so you’ll have active price in Item Price and disabled/old price in history price table.
Hi @strixaluco! Thanks for the interest! We will be sending PR within the week. I will post here link so you can take a look. You can help in creating test case or fixing bugs if there are. Thanks!
Hi @JoEz! The priority for initial PR is just having all the basic proposed function. The Price History will be an addition later on. I have sent a PR https://github.com/frappe/erpnext/pull/11464 . You guys might want to take a look or might be interested in testing! We might missed out on something. Thanks!