Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
86f3da1a77
@ -87,7 +87,7 @@ class TransactionBase(StatusUpdater):
|
||||
if self.meta.get_field(fieldname):
|
||||
self.doc.fields[fieldname] = val
|
||||
|
||||
if self.meta.get_field("sales_team"):
|
||||
if self.meta.get_field("sales_team") and self.doc.customer:
|
||||
self.set_sales_team_for_customer()
|
||||
|
||||
def set_sales_team_for_customer(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user