mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-16 18:24:10 +00:00
[minor] minor fixes in pricing_rule and set_missing_value
This commit is contained in:
@@ -570,7 +570,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
item.stock_qty = flt(item.qty * item.conversion_factor, precision("stock_qty", item));
|
||||
refresh_field("stock_qty", item.name, item.parentfield);
|
||||
this.toggle_conversion_factor(item);
|
||||
this.apply_price_list();
|
||||
this.apply_price_list(item, true);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -581,7 +581,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
},
|
||||
|
||||
qty: function(doc, cdt, cdn) {
|
||||
this.apply_pricing_rule(frappe.get_doc(cdt, cdn), true);
|
||||
this.conversion_factor(doc, cdt, cdn);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user