mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-01 03:12:39 +02:00
fix: uom wise price in sales or purchase transaction (#40216)
fix: uom wise price
(cherry picked from commit 13b05aa7fb)
Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
This commit is contained in:
@@ -1163,6 +1163,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(!r.exc) {
|
if(!r.exc) {
|
||||||
|
me.apply_price_list(item, true)
|
||||||
frappe.model.set_value(cdt, cdn, 'conversion_factor', r.message.conversion_factor);
|
frappe.model.set_value(cdt, cdn, 'conversion_factor', r.message.conversion_factor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user