From a094c0f3f162f863d6c6aca284d790a215db0fcc Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Sun, 2 Sep 2018 19:45:56 +0530 Subject: [PATCH] [fix] encrypted password in Hub User child record by frappe/frappe#6048 - use save() instead of insert() --- .../doctype/marketplace_settings/marketplace_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py b/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py index a9dfe8a5576..482efadaed0 100644 --- a/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py +++ b/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py @@ -65,7 +65,7 @@ class MarketplaceSettings(Document): 'password': hub_user.get('password') }) - self.insert() + self.save() def get_hub_user(self, user): '''Return the Hub User doc from the `users` table if password is set'''