[fix] [minor] call refresh_fields after cur_frm.call when doc is passed

This commit is contained in:
Anand Doshi
2013-07-25 19:13:45 +05:30
parent 742b55f700
commit 52b049145b
9 changed files with 4 additions and 25 deletions

View File

@@ -90,7 +90,6 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
freeze: true,
callback: function(r) {
if(!r.exc) {
me.frm.refresh_fields();
if(me.frm.doc.price_list_name !== price_list_name) me.price_list_name();
}
}