I have been seeing some strange issues with Purchase Order rate. The scenario is like this:
Cancelled one Purchase Order. Now when I’m duplicating this, the Items purchase rate is fetching some unknown values. These rates are not from the Standard Buying Prices, nor the last Purchase Price, nor the Valuation Price.
Please check this screenshot. Versions:
ERPNext: v12.17.0 (version-12)
Frappe Framework: v12.14.0 (version-12)