more updates to party
This commit is contained in:
@@ -35,10 +35,10 @@ class SellingController(StockController):
|
||||
def set_missing_lead_customer_details(self):
|
||||
from erpnext.selling.doctype.customer.customer import get_customer_details
|
||||
if self.doc.customer:
|
||||
self.doc.update_if_not_set(get_customer_details(self.doc.customer))
|
||||
self.doc.update_if_missing(get_customer_details(self.doc.customer))
|
||||
|
||||
elif self.doc.lead:
|
||||
self.doc.update_if_not_set(self.get_lead_defaults())
|
||||
self.doc.update_if_missing(self.get_lead_defaults())
|
||||
|
||||
def set_price_list_and_item_details(self):
|
||||
self.set_price_list_currency("Selling")
|
||||
|
||||
Reference in New Issue
Block a user