Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
cf8e2cbde0
@ -25,9 +25,8 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
||||
this.frm.set_df_property("debit_to", "print_hide", 0);
|
||||
}
|
||||
}
|
||||
|
||||
// if(this.frm.doc.is_pos && this.frm.doc.docstatus===0) {
|
||||
// cur_frm.cscript.toggle_pos(true);
|
||||
// cur_frm.cscript.toggle_pos(true);
|
||||
// }
|
||||
},
|
||||
|
||||
|
@ -289,6 +289,9 @@ class DocType(SellingController):
|
||||
|
||||
if d['reserved_qty'] < 0 :
|
||||
# Reduce reserved qty from reserved warehouse mentioned in so
|
||||
if not d["reserved_warehouse"]:
|
||||
webnotes.throw(_("Reserved Warehouse is missing in Sales Order"))
|
||||
|
||||
args = {
|
||||
"item_code": d['item_code'],
|
||||
"voucher_type": self.doc.doctype,
|
||||
|
Loading…
x
Reference in New Issue
Block a user