fix: set customer name on patient update

This commit is contained in:
anoop 2020-04-27 22:27:13 +05:30
parent 256b77b463
commit ca6f3ec977

View File

@ -40,6 +40,7 @@ class Patient(Document):
if self.territory:
customer.territory = self.territory
customer.customer_name = self.patient_name
customer.default_price_list = self.default_price_list
customer.default_currency = self.default_currency
customer.language = self.language