[pos] pos view fixed for all purchase & sales cycle

This commit is contained in:
Akhilesh Darjee
2013-09-25 11:09:33 +05:30
parent dd68de824d
commit 10dce341c8
8 changed files with 83 additions and 31 deletions

View File

@@ -108,8 +108,7 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
var item = wn.model.get_doc(cdt, cdn);
if(item.item_code) {
if(!this.validate_company_and_party("supplier")) {
item.item_code = null;
refresh_field("item_code", item.name, item.parentfield);
cur_frm.fields_dict[me.frm.cscript.fname].grid.grid_rows[item.idx - 1].remove();
} else {
return this.frm.call({
method: "buying.utils.get_item_details",