mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
[fix] [minor] in fetching pos settings
This commit is contained in:
@@ -87,7 +87,7 @@ class TransactionBase(StatusUpdater):
|
|||||||
if self.meta.get_field(fieldname):
|
if self.meta.get_field(fieldname):
|
||||||
self.doc.fields[fieldname] = val
|
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()
|
self.set_sales_team_for_customer()
|
||||||
|
|
||||||
def set_sales_team_for_customer(self):
|
def set_sales_team_for_customer(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user