[fix] [minor] [sales invoice] trigger update stock on fetching pos details

This commit is contained in:
Anand Doshi 2013-07-30 14:49:12 +05:30
parent a648f46d4e
commit 733681a426

View File

@ -144,6 +144,11 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
return this.frm.call({
doc: me.frm.doc,
method: "set_missing_values",
callback: function(r) {
if(!r.exc) {
me.frm.script_manager.trigger("update_stock");
}
}
});
}
}