Merge branch 'master' into develop
This commit is contained in:
commit
5b8b4dcce1
@ -2,7 +2,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
__version__ = '8.0.43'
|
||||
__version__ = '8.0.44'
|
||||
|
||||
|
||||
def get_default_company(user=None):
|
||||
|
@ -979,7 +979,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
var valid = true;
|
||||
|
||||
$.each(["company", "customer"], function(i, fieldname) {
|
||||
if(frappe.meta.has_field(me.frm.doc.doctype, fieldname && me.frm.doc.doctype != "Purchase Order")) {
|
||||
if(frappe.meta.has_field(me.frm.doc.doctype, fieldname) && me.frm.doc.doctype != "Purchase Order") {
|
||||
if (!me.frm.doc[fieldname]) {
|
||||
msgprint(__("Please specify") + ": " +
|
||||
frappe.meta.get_label(me.frm.doc.doctype, fieldname, me.frm.doc.name) +
|
||||
|
Loading…
x
Reference in New Issue
Block a user