Skip to content

Commit

Permalink
fix: set conversion factor before applying price list
Browse files Browse the repository at this point in the history
  • Loading branch information
vishakhdesai committed Nov 14, 2024
1 parent 7e9fc9f commit 9749fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/public/js/controllers/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -1247,8 +1247,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
},
callback: function(r) {
if(!r.exc) {
me.apply_price_list(item, true)
frappe.model.set_value(cdt, cdn, 'conversion_factor', r.message.conversion_factor);
me.apply_price_list(item, true);
}
}
});
Expand Down

0 comments on commit 9749fe2

Please sign in to comment.