[fix] Cur_frm breaking offline pos (#11955)
This commit is contained in:
parent
6a415bd32d
commit
47749f4635
@ -10,7 +10,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
+ flt(item.price_list_rate) * ( flt(item.margin_rate_or_amount) / 100);
|
||||
} else {
|
||||
item.rate_with_margin = flt(item.price_list_rate) + flt(item.margin_rate_or_amount);
|
||||
item.base_rate_with_margin = flt(item.rate_with_margin) * flt(cur_frm.doc.conversion_rate);
|
||||
item.base_rate_with_margin = flt(item.rate_with_margin) * flt(this.frm.doc.conversion_rate);
|
||||
}
|
||||
|
||||
item.rate = flt(item.rate_with_margin , precision("rate", item));
|
||||
|
Loading…
x
Reference in New Issue
Block a user