Merge branch 'develop' of https://github.com/frappe/erpnext.git into Item-Tax-Template-V12

# Conflicts:
#	erpnext/patches.txt
This commit is contained in:
Saif Ur Rehman
2019-02-01 19:17:04 +05:00
376 changed files with 6503 additions and 5071 deletions

View File

@@ -503,7 +503,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
var me = this;
var item = frappe.get_doc(cdt, cdn);
if (item.serial_no) {
if (item && item.serial_no) {
if (!item.item_code) {
this.frm.trigger("item_code", cdt, cdn);
}