[fix] [minor] in fetching pos settings
This commit is contained in:
parent
98429afe91
commit
d2b87268c9
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user